Re: Networking Q concerning /etc/net
On Sun, Feb 12, 2012 at 12:03 PM, Harry Putnam <email@example.com> wrote:
> I have now wired both up. The one that gets the hosts 192.168.1.42
> address is eth1 and is hardcoded at the lan router/dns server by MAC
> to get that address.
> eth0 is getting a dns served address too now.
> In fact I've now created a new problem. eth0 previously unwired has
> now taken over any sort of things from the command line like pinging
> other lan hosts, and since it leads to a subnet now a ping command
> doesn't find the main lan.
> Of course I can force ping to use eth1 with `-I' but apparently I need
> to change the MAC filter in network router to grab eth0 now and give
> it the [...]42 address.
> Or is there some way to switch eth1 and eth0 around on the host.
> Like maybe editing /etc/udev/rules.d/70-persistent-net.rules
If you want eth1 to be the default, you'll have to set up routing to that.