General :: Primary / Secondary Ethernet Interfaces Via NetworkManager
Mar 12, 2010
I have an Ubuntu 9.10 machine with three ethernet interfaces, eth0, eth1 and eth2. eth2 is connected to a private network. eth0 and eth2 are connected to two different LANs. Either one will provide access to the internet. All three networks have DHCP servers. Using Ubuntu's the default settings (And Gnome), when I boot up all the interfaces are active and my system gets three IP addresses. However any attempt to access the internet results in connection timeouts and other weirdness.
I suspect that traffic is going out on one NIC (like eth0) and coming back in on another (like eth1). I'm not sure what's going on. The only way I can access the internet at the moment is to bring two of the devices down with ifdown. How can I configure eth0 as my primary interface so all trafic goes out by default on that interface, while keeping the other two active? Also, I want to make sure Avahi broadcasts properly on all three IPs so that the computers on the LAN of eth1 can still connect to myHostname.local...
Here's my routing table:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.151.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
172.16.30.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 172.16.30.2 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.1.0.1 0.0.0.0 UG 0 0 0 eth1
I want the 172.16.30.2 network to be the primary one and the 10.1.0.0 network to be the secondary one. My nameservers are also incorrect. It seems like Ubuntu is bringing the networks up in order, eth0, then 1, then 2, and the DHCP information from eth1 is overriding eth0, and eth2 is overriding eth1. How can I reverse this so the DHCP information from eth0 is the "master"? This seems to be an issue with Gnome's NetworkManager.
View 1 Replies
ADVERTISEMENT
Mar 17, 2011
How long does unix wait till moving from primary to secondary dns server (in /etc/resolv.conf) if the primary is uncontactable?
Where is this setting, so I can change it?
View 1 Replies
View Related
Jun 6, 2010
I'm pensioning off my 10-years-old home server and replacing it with an Ubuntu 10.04 box. The two storage devices are a Western Digital Caviar Green 2.0TB HD and an Intel X25-M 34nm Gen 2 80GB SATA II 2.5inch SSD (the box has 8GB RAM and an i5 750, if it matters).
I don't care much about boot times (since I don't plan to reboot all that often;-); the main frequent, performance-demanding task will be (re)building large open source C or C++ software packages from sources (as an open source contributor, I do that often).
So, I thought I'd keep the SSD as the secondary drive and the HD as the primary one, using the SSD mostly for the files that can otherwise demand a lot of seeking (esp. in a parallel make).
However, the friendly vendor (perhaps more experienced in Windows systems than in Linux ones) thinks the "normal" way to configure the machine would be with the SSD as the primary drive. I'm pretty rusty on configuring and tuning systems, so, I thought I'd better double check on SuperUser.
View 2 Replies
View Related
Nov 3, 2010
linux newbie and i made a mistake while installing windows and linuxI made 4 primary partitions for my HD as i didnt know that only maximum 4 primary partitions are allowed.Now 25 GB of my HD is wasted. It is shown as unusable.CAN ANYONE PLEASE TELL ME IF I CAN CONVERT MY WASTED 25GB INTO SECONDARY AND USE IT WITHOUT FORMATTING AND RE PARTITIONING MY ENTIRE HD ???
View 5 Replies
View Related
Sep 23, 2010
I have a Linux box being used as a firewall with Fedora 10 and shorewall 4.2.10. Secondary IPs are loaded on the WAN (eth1)card through Shorewall NAT and Rules file. The problem is that if there is a network hickup or if the circuit bounces, the primary IP comes back but I have to reload Shorewall to get the secondary ips back. Is there a way so that they can automatically reload or just not go away if the connection bounces?
View 4 Replies
View Related
Nov 8, 2010
My question is that simple, how can I find out what is my primary and secondary DNS? I've tried commands: $ cat /etc/resolvconf and less /etc/resolv.conf but they didn't work. Also, when I open the resolv.conf file, it only says code...
View 3 Replies
View Related
Aug 17, 2011
I have two HP servers which have a total of 10 Ethernet ports each, both running RHEL 5.7. I need to make sure that Ethernet ports are mapped to the same devices in Linux on both systems (see below) because these servers must be identical (the second box is a drop-in replacement in case the first system fails).The ethernet ports on the first system are mapped as follows:
Device Port
eth0 Intel Dual Port Card, Port 1 (Rightmost Port)
eth1 Dual, Port 2
[code]....
View 1 Replies
View Related
Jan 4, 2010
We have a server and a target board. Most of the times I am able to mount the server through network file system. But sometimes it is observed that mounting hangs. When this happens, it was noted that both ethernet interfaces are up. Now when I make one down,mount works properly. The interface which I made down was having dummy(default) IP address, gateway etc.
View 5 Replies
View Related
Oct 19, 2009
i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?
View 3 Replies
View Related
Aug 15, 2011
How do you swap between primary and secondary languages for the keyboard (using GUI not terminal codes since this is for someone else who is a beginner at computing)? I installed the secondary language in the "language" section of yast, but can't see any options for swapping on the fly. Lets say they do 99% of stuff in english, but get an email they want to respond to in the secondary language or want to write a text document using the secondary language, is there a way to switch back and forth on the fly?
View 9 Replies
View Related
Jan 18, 2010
Currently I am running Ubuntu 9.10 on an older P4 system with EIDE harddrives. My primary HD has a WinXP installation and GRUB. Ubuntu is installed on the secondary HD.
I am happy enough running Ubuntu that I would like to remove my WinXP disk, move the disk with Ubuntu on it to be the primary boot drive, and then install a new drive as the secondary.
However when I tried to simply move the drive with Ubuntu on it from the secondary to the primary EIDE position the system would not boot. I assume that this is because there is no boot loader currently on that drive.
how do I put GRUB on the Ubuntu drive so that it can become the boot drive? Or is there some other way to accomplish what I am after without having to reinstall Ubuntu?
View 4 Replies
View Related
Mar 12, 2011
I just installed primary dns server now want to install new slave server so that in case if primary fails secondary can take requests.
View 3 Replies
View Related
Feb 9, 2010
I have openSUSE 11.2 KDE with NVIDIA drivers. I have a TV on the left and a monitor on the right. In the Nvidia drivers this has also been setup as stated. The TV is on position 0:0 and the monitor is in position 1920:0. The monitor has been ticked in the drivers as the primary screen.
My problem is that all application open on the secondary screen and not the primary screen (monitor) as I expect. How to the OS/drivers that will ensure that application always open on the monitor situated on the right are welcome.
View 5 Replies
View Related
May 1, 2010
im trying to open my NAT on my PS3, and it's asking for my primary DNS, secondary DNS, and default router. how will i find these on ubuntu? i got my ip and subnet mask, just need the other three.
View 1 Replies
View Related
Nov 30, 2010
I am learning software raid 1 with centos 5.5. I created the raid with out any problems and removed the first drive to check there was no problems and it booted. I have installed the old drive back in the system as hdc and need to resync the drives (used old drive as partitions correct) I thought I could use raidhotadd but id does not seem to exist anymore. how I resync the drives in the array hda primary and hdc secondary using mdadm
View 1 Replies
View Related
Jan 7, 2010
Is there a way to force the NetworkManager to bring up the interfaces right way. I have a service( postgres ) that needs to have a network interface up when it starts. Right now it is not even through I have the box check to have the network interface active on boot up.
View 1 Replies
View Related
Mar 29, 2010
I have installed a secondary Ethernet card, rebooted, but found no eth1 interface. The output of: lspci | grep Ethernet
View 3 Replies
View Related
Feb 27, 2016
I'm trying to connect my computer to an ethernet cable and having no luck, I looked up the problem and was told to put
Code: Select allauto eth0
iface eth0 inet dhcp
But after a restart the computer I still did not have access to the internet (aslo, dhcp is enabled on my modem, I checked)...
View 14 Replies
View Related
Dec 28, 2010
The ethernet configuration files are under
"/etc/sysconfig/network-scripts" such as "ifcfg-eth0:1" etc.
The file looks as follow:
Code:
DEVICE="eth0:1"
BOOTPROTO="static"
ONBOOT=no
IPADDR="172.23.17.10"
NETMASK="255.255.255.0"
ALIAS="yes"
I've set the ONBOOT=no. This means this device should not be activated at boot-time. But as I reboot the machine, this device is activated again. This means the option ONBOOT doesn't work. Seems this is a bug of RedHat LINUX?
View 3 Replies
View Related
Mar 2, 2010
Problem:I got a new Acer Aspire 8935G notebook, installed Ubuntu 9.10 on it and everything is fine, except the fact, that it wont detect any network interfaces (or how to call it So there are no ethernet or wlan connections available in the network-manager..
lspci gives me following lines:
joe@IGNAZ ~ $ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev
[code]...
View 9 Replies
View Related
Jan 6, 2010
How can I enable the network with Networkmanager WIHTOUT logging in in OpenSuse 11.2?
If I define a connection for ethernet the System connection is greyed out. I want to use Networkmanager because I have also wireless connections...
View 9 Replies
View Related
Jan 7, 2010
I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.
It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"
Code:
ADVISEADDR:error in specifying interfaces: no existing ip interfaces found
#lspci
Code:
04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network
[code].....
View 5 Replies
View Related
Jan 25, 2010
I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:
Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255
View 12 Replies
View Related
Apr 16, 2010
If I try to add a new interface (eth1) to /etc/network/interfaces, I get
Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
[Code]...
How do I add 2 interfaces and get anyone of them to work, as available ?
View 5 Replies
View Related
Dec 6, 2010
My question is one of my users was using open suse on his workstation (690 DELL),there are 4 harddrives connected to the machine one is of 160GB and the other three are of 1terrabytes.His 160GB HDD got corrupted the one which is having OS and we replaced it to the new one.User advised to install RHEL 5.2 so i installed RHEL 5.2on 160GB HDD by disconnecting the other three HDD.After installing the machine i tried to mount the other three HDD but could'nt.The error message iam getting is 'Not valid partitiion table'.
View 6 Replies
View Related
Sep 10, 2009
If user1's main group is genetics and one wants to add him/her to group biochem and to assign biochem as his/her secondary group will the following suffice ?
Code:
$ sudo usermod -G biochem user1
I would like for user1 to have genetics as the main group but also belong to biochem. When user1 creates a file, as he/she belongs to main group genetics, I assume the file will be owned by user1 and group owner will be genetics. Ideally files created by user1 should be accessible to users in group genetics(when permissions are tweaked) but not by individuals in group biochem. However, any files with group owner biochem should be accessible to user1 as he/she does belong to biochem as a secondary group. Would having user1 main group genetics, secondary group biochem fulfil this criteria ?
View 5 Replies
View Related
Apr 5, 2011
I am working on a computer that the hard drive crashed. Inititially they had a virus, reloaded windows, and had the computer up and running. When downloading software it crashed and will not boot. I have tried all the numerous routine fixes with no success including using the repair discs. The repair discs no longer work and they are unable to get a second set. As a last resort I am able to access the hard drive when booting from Knoppix from a CD. There are a couple things I would like to try from Knoppix, but do not know if it is possible. First, Is it possible to load the boot files from knoppix? Second, can you roll back the drivers from knoppix?
View 1 Replies
View Related
Mar 1, 2010
Having just moved to Linux from Windows, I have never considered whether or not to partition my 250 GB external hard drive. As of right now it will only be used for data storage. Should it be partitioned? If so, what size partitions?
View 7 Replies
View Related
Nov 3, 2010
My Red Hat EL 5.5 64 bit edition, I've install it on my primary hard drive 12 GB it works fine and then I added secondary 20 GB hard drive (sdb1) into this system and then format it as VolGroup01 see the attachment, but how come it doesn't show up ?
Code:
View 3 Replies
View Related
Sep 11, 2010
I have windows xp on my first hard drive and Linux on the second hard drive.The windows hard drive is labeled hda1 and the linux hard drive is labeled hdb1.I am using GRUB to boot the linux hard drive and it is installed on hdb.Is there any way to boot the secondary linux hard drive using the windows bootloader?I have tried several online tutorials for it but none of them work.
View 5 Replies
View Related