[PLUG] Network routing
Jeff Blain
jelque at feather.net
Mon Jun 24 20:59:53 UTC 2002
Ok, I found out that Machine B is actually sending to machine A. eth0 on
my firewall is recieving the packets but seem to be dropping them. I
guess I will start playing with the firewall. Should my firewall have a
route for the x.x.1.0 network?
Jeff
On Mon, Jun 24, 2002 at 03:38:41PM -0500, Jeff Blain wrote:
> I am trying to route one network to another, but I am having troubles in
> doing so.
>
> Here is my scenerio...
>
> machine A is my firewall router. 192.168.0.1
> machine B is my desktop. eth0 192.168.0.10, eth1 192.168.1.1
> machine C is a new computer. eth0 192.168.1.2
>
> Machine A to B connect fine, as does B to C. Machine B will not route
> traffic from C to A. Can someone help me in figuring this out?
>
> bash-2.05a# cat /proc/sys/net/ipv4/ip_forward 1
>
> bash-2.05a# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth1
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0
> eth0
>
> Running tcpdump on eth0 on machine B and trying to ping A from C...
>
> bash-2.05a# tcpdump
> tcpdump: listening on eth0
> 15:35:08.636798 mesa > rftc: icmp: echo request
> 15:35:09.636891 mesa > rftc: icmp: echo request
> 15:35:10.636992 mesa > rftc: icmp: echo request
> 15:35:11.637089 mesa > rftc: icmp: echo request
> 15:35:11.638935 arp who-has rftc tell dizzy
> 15:35:11.639693 arp reply rftc is-at 0:20:af:f:95:39
> 15:35:12.637196 mesa > rftc: icmp: echo request
> 15:35:13.637302 mesa > rftc: icmp: echo request
>
> But machine A never recieves anything.
>
> Any help would be appreciated.
>
> Jeff
>
>
>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
More information about the PLUG
mailing list