From: Bit Gossip (bit.gossip@chello.nl)
Date: Tue Jun 26 2007 - 15:52:12 ART
Hi Louis,
using NAT it is quite easy see below. I changed router name and addresses
R2 ---serial4/1----R3----f1/0-----syslog server (192.168.251.253)
~~~~~~~~~~~~~~ R2
logging 150.1.1.1
~~~~~~~~~~~~~~ R3
interface Serial4/1
ip address 192.168.23.3 255.255.255.0
ip nat outside
!
interface FastEthernet1/0
ip address 192.168.251.250 255.255.255.224
ip nat inside
duplex full
!
ip nat inside source static udp 192.168.251.253 514 150.1.1.1 514 extendable
~~~~~~~~~~~~~~~~~~~
debug ip nat on R3
*Jun 26 20:52:04.483: NAT: s=192.168.23.2, d=150.1.1.1->192.168.251.253 [9]
*Jun 26 20:52:04.483: IP: tableid=0, s=192.168.23.2 (Serial4/1),
d=192.168.251.253 (FastEthernet1/0), routed via FIB
*Jun 26 20:52:04.483: IP: s=192.168.23.2 (Serial4/1), d=192.168.251.253
(FastEthernet1/0), g=192.168.251.253, len 120, forward
*Jun 26 20:52:04.483: UDP src=49249, dst=514
on the server:
sudo tcpdump -n -i eth2 udp port 514
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes
22:28:48.333673 IP 192.168.23.2.52612 > 192.168.251.253.syslog: UDP, length
92
----- Original Message -----
From: "louis john" <west_coast@inbox.com>
To: "Cisco certification" <ccielab@groupstudy.com>
Sent: Thursday, June 21, 2007 8:07 PM
Subject: Why I Can't forward syslog messages using the ip helper-address
command
> Hi All,
>
> I am trying to forward the syslog messages received by the serial
> interface of R1 to the syslog server connected to SW2, but I can not see
> any syslog messages on my server.R4 is forwarding the syslog messages to
> R1, that's why I configured the "logging 150.1.1.1" toward R1.
> the condition is to use the ip helper-address, so I can not configure the
> simple logging command toward the server.
>
> shouldn't the command ip helper-address forward the syslog messages to the
> address associated with it? maybe I am not able to do it because the
> syslog is reaching R1 an unicast, and the rule it must be all IP levle
> broadcast for the ip helper-address command to start work !
>
> if this is case then how I will convert the syslog traffic to be broadcast
> then !
>
>
>
>
>
> I will be thankful if you shed light on this issue
>
>
> R4----R1-----SW2---SYSLOG SERVER(192.168.1.101)
>
>
> R4
> logging 150.1.1.1
>
> R1
> inter loopback 0
> ip address 150.1.1.1
>
> interface Serial0
> ip helper-address 192.168.1.101
>
>
> ip forward-protocol udp syslog
>
> SW2
> interface fas1/0/48
> no switchport
> ip add 192.168.1.80 255.255.255.0
> ip broadcast-address 192.168.1.255
>
>
> Note: Reachability is done between all devices
>
> ____________________________________________________________
> FREE ONLINE PHOTOSHARING - Share your photos online with your friends and
> family!
> Visit http://www.inbox.com/photosharing to find out more!
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:51 ART