Re: can't access public nic

John Hughes <[email protected]> Sat, 28 Mar 2009 11:02:38 +0100
Newsgroups gmane.linux.cluster.ssic.user
Message-ID <[email protected]>
jhansen wrote:
> Hi,
> I am attempting to install open ssi on lenny. I have 2 nics on #1 node. I
> can't seem to access the public internet from my root node...
>
> >From my base Linux install I did the following:
> I have configured my "public" nic to use dchp and it resolves to a typical
> class "C" config on eth0. ip address is 192.168.0.70, with 192.168.0.1 as
> the gateway.
>
> I configured a static class "A" address on my "private" eth1 nic. 10.0.0.2.
> mask 255.0.0.0 gateway 10.0.0.2. 
> I verified connectivity to public nic with google, and private nic with
> ping.
>
> I installed openssi per the instructions for Lenny and selected the
> "private" eth1 nic as the interconnect. The installation seemed to work but
> access to public intenet is broken and network config seems strange. Typing
> "route" I see only 1 entry for the 10.0.0.0 network and that is on eth0
> (shouldnt that be eth1?).
>
>   
On linux the "eth0", "eth1" names are almost randomly chosen - they 
simply reflect the order the nic was found by the kernel.

Since the OpenSSI initrd loads the interconnect nic module first (for 
obvious reasons) the interconnect nic is almost guaranteed to be eth0, 
so your other nic is probably eth1 when using OpenSSI.

Change the /etc/networks/config file, changing all references to eth0 to 
eth1.

If you want to see what nics the kernel has found use the "ip link show" 
command.  (Or "ifconfig -a", but ifconfig is old and crufty).

Personaly I use udev to give meaningful names to my nics.  (And one day 
I'd like OpenSSI to change the name of the interconnect nic).


------------------------------------------------------------------------------