Re: Routing problems

j.halifax . j.halifax at seznam.cz
Sun Feb 21 18:17:29 UTC 2010


> Are you sure you have packet forwarding enabled?
> What does 'sysctl -a | grep forward' say?

sysctl -a | grep forward
net.ipv4.conf.all.forwarding = 1
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 1
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.eth1.forwarding = 1
net.ipv4.conf.eth1.mc_forwarding = 0
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.eth2.forwarding = 1
net.ipv4.conf.eth2.mc_forwarding = 0
net.ipv4.conf.eth3.forwarding = 1
net.ipv4.conf.eth3.mc_forwarding = 0
net.ipv4.conf.sit0.forwarding = 1
net.ipv4.conf.sit0.mc_forwarding = 0
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.all.mc_forwarding = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.mc_forwarding = 0
net.ipv6.conf.eth1.forwarding = 0
net.ipv6.conf.eth1.mc_forwarding = 0
net.ipv6.conf.sit0.forwarding = 0
net.ipv6.conf.sit0.mc_forwarding = 0
net.ipv6.conf.lo.forwarding = 0
net.ipv6.conf.lo.mc_forwarding = 0
net.ipv6.conf.eth2.forwarding = 0
net.ipv6.conf.eth2.mc_forwarding = 0
net.ipv6.conf.eth0.forwarding = 0
net.ipv6.conf.eth0.mc_forwarding = 0
net.ipv6.conf.eth3.forwarding = 0
net.ipv6.conf.eth3.mc_forwarding = 0
===
net.ipv4.ip_forward = 1. Is it sufficient?

Thank you... 


> ------------ Původní zpráva ------------
> Od: Bruno Wolff III <bruno at wolff.to>
> Předmět: Re: Routing problems
> Datum: 20.2.2010 16:52:22
> ----------------------------------------
> On Thu, Feb 18, 2010 at 07:31:56 +0100,
> "j.halifax ." <j.halifax at seznam.cz> wrote:
> > 
> > >From the LAN default GW (10.255.250.37) 
> > - I can ping 172.17.1.50:
> > &nbsp;&nbsp;PING 172.17.1.50 (172.17.1.50) 56(84) bytes of data.
> > &nbsp;&nbsp;64 bytes from 172.17.1.50: icmp_seq=1 ttl=253 time=5.62 ms
> > &nbsp;&nbsp;64 bytes from 172.17.1.50: icmp_seq=2 ttl=253 time=3.29 ms
> > 
> > >From other boxes in the same LAN (e.g. 10.255.250.38)
> > - I cann't ping 172.17.1.50
> > - I cann't traceroute 172.17.1.50: It goes to LAN default GW 
> > &nbsp;&nbsp;10.255.250.37 and then to its default GW dsl-router on eth0
> > &nbsp;&nbsp;instead of eth3 (so that the routing rule for 172.17.0.0 doesn't 
> > &nbsp;&nbsp;match for 172.17.1.50)
> > 
> > Can anybody help pleasee?
> 
> Are you sure you have packet forwarding enabled?
> What does 'sysctl -a | grep forward' say?
> 
> 


> ------------ Původní zpráva ------------
> Od: Bruno Wolff III <bruno at wolff.to>
> Předmět: Re: Routing problems
> Datum: 20.2.2010 16:52:22
> ----------------------------------------
> On Thu, Feb 18, 2010 at 07:31:56 +0100,
>   "j.halifax ." <j.halifax at seznam.cz> wrote:
> > 
> > >From the LAN default GW (10.255.250.37) 
> > - I can ping 172.17.1.50:
> > &nbsp;&nbsp;PING 172.17.1.50 (172.17.1.50) 56(84) bytes of data.
> > &nbsp;&nbsp;64 bytes from 172.17.1.50: icmp_seq=1 ttl=253 time=5.62 ms
> > &nbsp;&nbsp;64 bytes from 172.17.1.50: icmp_seq=2 ttl=253 time=3.29 ms
> > 
> > >From other boxes in the same LAN (e.g. 10.255.250.38)
> > - I cann't ping 172.17.1.50
> > - I cann't traceroute 172.17.1.50: It goes to LAN default GW 
> > &nbsp;&nbsp;10.255.250.37 and then to its default GW dsl-router on eth0
> > &nbsp;&nbsp;instead of eth3 (so that the routing rule for 172.17.0.0 doesn't 
> > &nbsp;&nbsp;match for 172.17.1.50)
> > 
> > Can anybody help pleasee?
> 
> Are you sure you have packet forwarding enabled?
> What does 'sysctl -a | grep forward' say?
> 
> 
> 


More information about the users mailing list