Multiple IP's on the 1 NIC
I am having a hell of a time trying to get my network card to use 2 different IP addresses under Mandrake 9.1
any ideas? |
If I remember right, you should be able to bring them up with:
ifconfig eth0:0 192.168.0.1 up and ifconfig eth0:1 12.12.12.12 up for instance anyway. I think that's all you need to do for device splitting. Cheers, Finegan |
yep, that worked :D
Thanks heaps! I was starting to get frustrated there... |
In what instances would one want to do this?
And where would 2 ip's come from via 1 cable? Cool |
you only have 1 MAC addy, but you can have more than 1 ip.
For example, an ISP may give you 2 (or more ips), but bound it to one nic card (using MAC). So, lets say you have 2 ips. you set one up as your apache, while the other as the rest of the network. Then using NAT, you configure all connections to one ip to be forwarded to your apache server, while all connections to the other ip to be forwarded to your internal network. Your isp does not complain because they are only assigning ips to one computer (as far as they can tell - 1 nic is being used). |
All times are GMT -5. The time now is 07:28 PM. |