two IPs on the same NIC

pedro

Registered
How can you set up two IPs for the same NIC on MacOSX? I've googled around but haven't found anything useful. I know how to do it with windows or linux...

The thing is that I have an internet connection which gives valid IPs, but when I need to transfer files between the other two linux boxes and the iMac (Panther), it does it very slowly, eating up the bandwidth. All the systems are connected to a switch, which is connected to the router. The other two linux boxes have two IPs on the same NIC, one provided by the router (public, DHCP) and the other one static (private network) which works just fine.

TIA,

Pedro.
 
Two things-
Yes, it can be done. The basics of it are - in network Prefs, go to Network port Configurations and Duplicate the built-in ethernet. Then configure the second one.

But, as far as I can tell, in your situation it is completely unnecessary. It sounds like your router isn't set up to do login with your ISP, and NAT, so your computers are not in a local subnet.
If you set up your router correctly, you don't use PPPoE or any other login from each computer, and DHCP gives IP addresses which are in the same local subnet to each computer. Computer to computer sharing is then easy - without a second IP address.
 
Two things-
Yes, it can be done. The basics of it are - in network Prefs, go to Network port Configurations and Duplicate the built-in ethernet. Then configure the second one.

But, as far as I can tell, in your situation it is completely unnecessary. It sounds like your router isn't set up to do login with your ISP, and NAT, so your computers are not in a local subnet.
If you set up your router correctly, you don't use PPPoE or any other login from each computer, and DHCP gives IP addresses which are in the same local subnet to each computer. Computer to computer sharing is then easy - without a second IP address.

Yep. That's what I though it should happen, but it doesn't. They're actually on the same network, but the max bandwidth I get is 60Kps, instead of MB I should be getting in the 100Mps network I should be getting. The router does IP routing, so it shouldn't be going through the router at all, as all IPs are on the same network (!?)

Your instructions work perfectly. Thanks,

Pedro.
 
Are all your computers getting IP addresses in the 192.168.xx or 10.xx ranges? That's what they should be getting from the router.
 
Back
Top