Mailinglist Archive: opensuse (1495 mails)

< Previous Next >
Re: [opensuse] Correct config for dual nic's
  • From: Anders Johansson <ajohansson@xxxxxxx>
  • Date: Thu, 2 Apr 2009 00:54:55 +0200
  • Message-id: <200904020054.55884.ajohansson@xxxxxxx>
On 3/31/09 8:50 AM, "Chris Arnold" <carnold@xxxxxxxxxxxxxxxxxxx> wrote:
Using SLES10 SP2 and need to get multi-nic configured correctly. 1 nic is
on a network and the other nic is on another network. Using yast->routing
what is the correct way to configure this 2 nic (on the 192.168.123
network)? When I put in the expert config section of routing, dest
192.168.123.0 and give it a gateway of the 192.168.123 network,
somethings stop working. So my question is how is a dual nic system
suppose to be setup using routing?

It depends on what you want to achieve. Normally you don't have to do
anything. One NIC is on one network, with a netmask, so all packets destined
for that network will automatically go through that NIC. The other NIC is on
another network, again with a netmask, so all packets destined for that
network will automatically go through that NIC.

And then the system has one default gateway, which is on one of the two
networks, so it will be automatically found, and used for all packets destined
for machines not on one of the two local networks.

For most setups, this will happen absolutely automatically when you assign
addresses to the two NICs. The only problem I have seen is when people think
you should have more than one default gateway, which you shouldn't have.

If you want anything more complex than this, then you need to study up on
routing.

If 192.168.123.0 is one of the two local networks, it doesn't need a gateway.
A gateway for a network is a machine through which you go when trying to get
to a non-local subnet

Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References