[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dubel network cards



High,
On Tue, 21 Aug 2001, Tandex wrote:

> I am done with my linux gateway with only one network
> card, buth it will go faster if use 2 network card in
> the same computer one card to my home network and
> other to cabel-modem.
> 
> How will I setup this other card and it's ip, how can
> I make difrence between them.
> 
Network cards are named eth0, eth1, eth2, ... in the order the drivers are
loaded. You can load the module by using 'modconf' and then edit
/etc/network/interfaces and add an entry like:
iface eth1 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        network 192.168.1.0
        gateway 192.168.1.3

Then use 'ifup eth1' to activate the settings. You can control them with:
'ifconfig' and 'route -n'.

Greetz,
Sebastiaan




Reply to: