Am Samstag 15 November 2008 03:11:56 schrieb JC Janos:
Hi,
I'm setting up my 1st linux router/firewall for my office. I'm connecting to the net via ATT DSL using PPPoE. It's connected, but something's wrong with my config (routing?) as I can't seem to ping past my gateway.
[CUT]
netstat -r Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 99.164.169.50 * 255.255.255.255 UH 0 0 0 ppp0 x.x.x.145 x.x.x.150 255.255.255.255 UGH 0 0 0 ppp0 x.x.x.146 x.x.x.150 255.255.255.255 UGH 0 0 0 ppp0 x.x.x.147 x.x.x.150 255.255.255.255 UGH 0 0 0 ppp0 x.x.x.148 x.x.x.150 255.255.255.255 UGH 0 0 0 ppp0 x.x.x.149 x.x.x.150 255.255.255.255 UGH 0 0 0 ppp0 default x.x.x.150 255.255.255.248 UG 0 0 0 ppp0 loopback * 255.0.0.0 U 0 0 0 lo
Any idea as to what's missing/wrong with my config that's preventing ping/access past the gateway?
Yes, you use your own IPaddress as Gateway, but you have to use the IPaddress of the gateway as gateway :) 99.164.169.50 is your gateway not x.x.x.150 (that's your own IPaddress) so currently you try to send any external traffic to yourself .... would give a nice loop :) Btw. you do not need to setup the host/network routes, only setup the IPs /sbin/ip addr add x.x.x.145/24 dev $1 label $1:1 .... .... and the default route /sbin/ip route add default via 99.164.169.50 dev ppp0 this should be all to do. regards, Paul -- To unsubscribe, e-mail: opensuse-networking+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-networking+help@opensuse.org