Map Ip

Taking care of your Linux box.
Posts: 124
Joined: Wed Mar 17, 2004 4:05 pm
Location: Karachi

Map Ip

Postby mfaisalkh » Wed Jun 16, 2004 9:30 pm

I have a only single NIC & its address is
Now i want to assigned another IP on this NIC.
How can i do this.
plz tell me step-by-step giude

Lance Naik
Posts: 27
Joined: Thu Jun 03, 2004 1:39 am
Location: A Block away from hell

Postby funaki » Thu Jun 17, 2004 1:52 am

you can do this by adding a child adapter or simply IP Aliasing. First list your ethernet adapters with ifconfig command.
now su over to root or if you are already root just type this in console

ifconfig eth0:0 netmask up

what the command will do is make a virtual or child adapter naming it etho:0 with an ip address of netmask of and will bring the state of the card to up.

for more help you can type man ifconfig for help with the command. :wink:
AMD 3400+|2GBRAM|ATI9800xt|120GB hdd x2|
Intel 3.2GHZ|2GBRAM|Nvidia FX5900| 200GBhdd x2|

Return to “Administration”

Who is online

Users browsing this forum: No registered users and 2 guests