Networking :: multiple ip addresses



Is there a way to setup multiple ip addresses for a single computer with DSL?

I have setup my static ip according to the wiki. My bootlocal.sh is as follows:

Code Sample
ndiswrapper -i eepro100
ifconfig eth0 192.168.60.78
ifconfig eth0 netmask 255.255.255.0 broadcast 192.168.60.254
ifconfig eth1 192.168.60.79
ifconfig eth1 netmask 255.255.255.0 broadcast 192.168.60.254
route add default gw 192.168.60.xx
echo nameserver 192.168.60.xx > /etc/resolv.conf
echo nameserver xx.xx.xx.xx >>resolve.conf
ifup eth0
ifup eth1


I have pinged my server and only get a response through one of my ethernet ports. I have also connected to this computer through vnc, but it also only works on one ethernet port. They are also sharing irq 10 according to dmesg. If this is the problem, how do I change the irq?

You can check if there are any word of conflict in dmesg - if no errors, then I suppose it won't cause any problems.  However, you could check your BIOS if you can reserve irq's for them.

If you just try pinging another server from that machine, it depends on the metric/priority of the interface that's chosen to be used.

Otherwise maybe ndiswrapper has some kind of limitation in this.


original here.