I have a wireless connection to the internet, as well as a wired connection to a local network. When the wired connection to my local network is enabled, the wireless connection to the internet no longer works until I disconnect the ethernet cable.
(This setup used to work just fine when I was using Windows, but now doesn't seem to work. I wasn't using IP aliasing in Windows, but I am now, which may be causing the problem.)
My original connection to the internet was a wired one, at eth0, so once I got wireless enabled (on eth1), I created an IP alias to my local network of eth0:1 which is a static IP on my local network. The only configuration I did at all was to add a file named /etc/sysconfig/network-scripts/ifcfg-eth0:1, with the following contents:
Code:
DEVICE=eth0:1
IPADDR=192.168.0.39
NETMASK=255.255.255.0
ONBOOT=yes
And NetworkManager just seemed to pick it up automatically - I didn't change anything else in NetworkManager or anywhere else.
(Also I use 'service NetworkManager start/stop' entirely rather than 'service network start/stop' to manage my connnections. i.e. I did 'chkconfig network off' when setting everything up initially.)
Any idea what I could do to get it working?