On November 25, 2003 11:41 pm, Együd Csaba wrote: > Hi Pete, > > > route del default > > route add default gw 213.163.27.13 dev ppp0 > > you may also need to add > > route add -net 213.163.27.0 netmask 255.255.255.255 dev ppp0 > > I've done everything you suggested me and - magic! - it is working. But now > I can't browse my intranet. > The server is visible from other machines but it can't see out to the rest > of the network. > Trying to add a new gw to the rout table it keeps sending error messages > like: > > # route add default gw 10.10.10.255 dev eth0 > SIOCADDRT: Network is unreachable > > Actually on WinXP there isn't any Defaulr GW set. > > My routing table now: > --------------------------------------------------------------------------- >- - > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > bors-adsl0.vive * 255.255.255.255 UH 0 0 0 > ppp0 213.163.27.0 * 255.255.255.255 UH 0 0 > 0 ppp0 10.10.10.0 * 255.255.255.0 U 0 0 > 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 > 0 lo default bors-adsl0.vive 0.0.0.0 UG 0 0 > 0 ppp0 > --------------------------------------------------------------------------- >- - > > I do not say I anderstand what I did, but it works and it makes me happy. > Is there any way - I belive there is :) - to have the intranet part work > too? > > Thx a lot for help, > -- Csaba Hi Egyud, There is always a way:) So the 10.10.10.0 is your inside network? Windows does have a route to it: 10.10.10.0 * 255.255.255.0 U 0 0 0 eth0 You can only have one Default Gateway, but many gateways. You want to tell it that for packets destined fro 10.10.10.0 net to go out 10.10.10.33 which is eth0, so try: route add -net 10.10.10.0 netmask 255.255.255.0 dev eth0 That should get you on the local network. Does anyone remember how to put these in sysconfig (or?) so they are persistent? -- Pete Nesbitt, rhce -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list