Routing Problem
Alan McKinnon
alan at linuxholdings.co.za
Wed Mar 1 20:29:30 UTC 2006
On Wednesday, 1 March 2006 18:55, DC Parris wrote:
> On Wednesday 01 March 2006 03:28 am, Alan McKinnon wrote:
> > On Tuesday, 28 February 2006 20:39, Filipe Bonjour wrote:
> > > Hi,
> > >
> > > I can imagine two easy caises:
> > >
> > > 1) Missing default gw
> > >
> > > Is the Suse box marked as the default gateway? Run the command
> > > route, and if you don't see an entry called default, try
> > > creating it. I believe the command is
> > >
> > > route add default gw <name or IP of Suse host>
> >
> > Best format is to use the SuSE box's IP - it's so easy to make a
> > small mistake with network configurations and leave the
> > workstations unable to resolve the name of the gateway...
>
> The Ubuntu box cannot ping the external NIC of the SUSE box. I
> added the default gateway:
> sudo route add default gw ipadress
>
> Afterwards, I am able to ping Google. However, on restarting the
> network services or rebooting the machine (both methods), the
> default route gets lost. I have to re-add it. What is the best
> way to make this more permanent?
System -> Administration -> Networking and set the options for the
relevant interface is the easiest. You only have to set the gateway
if the address is static; if the SuSE box runs dhcp it provides the
gateway automatically.
The gateway address would be the internal interface on the SuSE box
--
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
More information about the ubuntu-users
mailing list