[Wolves] virtual nic
Chris Meadows
wolves at mailman.lug.org.uk
Thu Sep 12 19:01:01 2002
Fizz
-----Original Message-----
From: wolves-admin@mailman.lug.org.uk
[mailto:wolves-admin@mailman.lug.org.uk]On Behalf Of fizzy
Sent: 12 September 2002 12:09
To: wolves@mailman.lug.org.uk
Subject: [Wolves] virtual nic
I am sure there must be a very simple way to create a
single NIC gateway under linux - one nic, 2 ips
(192.168.0.1 and the cable modem DHCP address), but i
can't work out how.
Your DHCP will bring up and interface eth0 once this is up you can manually
add
another ip address to the nic with the command:-
ifconfig eth0:1 (new address)(netmask (optional)) up
This has the effect of making the card appear as 2 ip's
Dont forget to add any routing you require as eth0
Hope thats of help
Cheers
Chris (savvy)
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
_______________________________________________
Wolves mailing list
Wolves@mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/wolves