Help! Instable network on 6.06 based SuperMicro server with e1000 Intel driver
Aart Koelewijn
aart at mtack.xs4all.nl
Mon Feb 25 12:36:17 UTC 2008
On Sun, 24 Feb 2008 16:20:59 -0800, Nick Webb wrote:
> Floris Vlasveld wrote:
>> On 24 feb 2008, at 21:49, Aart Koelewijn wrote:
--------------[SNIP}-----------------
>>>> Floris.
>>> With such a problem I would always check route. It has happened to me
>>> that there are 2 default routes or none at all. In both cases you will
>>> have problems with your network.
>>>
>>> Aart
>>
>> Thanks for your reply Aart. How exactly would I check that? What do I
>> look for?
>>
>> Output of "route" is as follows:
>>
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use
>> Iface
>> 80.69.93.0 * 255.255.255.128 U 0 0 0 eth0
>> 10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
>> default 10.0.0.1 0.0.0.0 UG 0 0 0 eth1
>> default 80.69.93.1 0.0.0.0 UG 0 0 0 eth0
>>
>>
>>
> As Aart said you have two default routes setup, that won't work.
> Basically if there is no route matching the host you want to connect to,
> it will use the default. In the output here you have both 10.0.0.1 and
> 80.69.93.1 as default routes. I think you only want the later as
> default, as it can route you to the internet. Then the 10.0.0.1 gateway
> is only used for 10.0.0.x address, which is what you want.
>
> This command should fix this:
>
> sudo route del default gw 10.0.0.1
>
> Then you'll need to update the appropriate /etc files to make it stick.
> I don't have this kind of a setup on ubuntu, so I'm not sure how to do
> this.
>
> Nick
I know this because I have experiences with a laptop for which I
sometimes use a eth connection, sometimes a ath connection, sometimes ppp
and each of these can be combined with a tun (VPN) connection. When
changing the type off connection on the fly such things can happen and I
manually correct them f.i. in the way Nick described. In your static
situation you will need a fireproof static solution. As far as I know
this can be done in /etc/network/interfaces. But you will have to study
some manpages to find out how. I would start with the manpages for
interfaces, route, ifconfig and maybe some other.
You should also look in /etc/network/if-up.d/* if there is some script
there which sets (wrong) routes.
Good luck
Aart
More information about the ubuntu-users
mailing list