Fedora Networking :: Enable 3 Interfaces \ When Start One Interface The Another Interfaces Goes Down?
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
ADVERTISEMENT
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
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
Feb 3, 2010
My old /etc/network/interfaces isn't working in 9.10. I've used it from 8.04 to 9.04 without issues.
I need to make multiple configuration per interface:
Code:
auto lo
iface lo inet loopback
auto lo:1
[Code].....
If not how can I downgrade the program responsible for reading this file?
View 2 Replies
View Related
Apr 30, 2009
What traffic goes where? Why? Any bandwidth advantage? What if one goes down?
View 4 Replies
View Related
Sep 29, 2010
I am running Fedora 13 and after my machine is booted my ethernet interface eth0 does not have an IP address. Running
Code:
At the terminal does not work, and I can see that in /var/log/messages I have the following error:
Code:
I assume that the same command was attempted during the boot process (please correct me if I am wrong) to use DHCP to get an address for eth0, but failed for the same reason it is failing after boot when I run it manually, whatever that reason may be.
I noted, however, that eth0 IS in broadcast mode:
Code:
I also noted that running
Code:
Does in fact work and will run DHCP and configure eth0 with an ip address.
It is quite mysterious to me why running 'dhclient eth0' will work, but manually running 'dhclient' does not.
View 5 Replies
View Related
Mar 24, 2011
- eth0 is connected to a 'Green" interface of a smoothwall router.
- eth1 is connected to a 'Orange' interface of the same smoothwall router.
The smoothwall router is setup to forward port 80 to the address of the eth1. I can ping eth1 from the smoothwall router so there is that connection.I have a web server running on port 80 and I have opened port 80 in the firewall and made eth1 a trusted interface.In this configuration, when accessing the outside world all the traffic goes through eth0 and DNS is snappy and faster. The problem is that anyone outside can not access the web server with a timeout error.If I disable eth0 and set DNS info on eth1( DNS servers are the QWest IPs ), people can access the web server, but DNS is very poor often taking more than a minute for a look up.Is there any way to get the two interfaces to work together?
View 3 Replies
View Related
Dec 11, 2009
I found problem in FC 12 release. I installed fc 12 to server (earlier there was FC 7). Then as always i realised that names of interfaces (eth0, eth1, eth2 .... eth9) changed after install. eth0 became eth9, eth1 became eth5 ... Earlier on previous fedora releases i solved this problem correcting HWADDR in ifcfg-eth files, so i linked MAC addresses to names (eth0, eth1, eth2) as i wanted in a right order. Now I can't do this. After correcting these files and restarting network sevice i constantly get a message: device ... has different mac than expected. I looked ifup-eth file and compare it with the same one in fedora 7. And i found that in fedora 7 there is function rename_device which processes if HWADDR value doen't coincide with real mac address value. See code:
# remap, if the device is bound with a MAC address and not the right device num
# bail out, if the MAC does not fit
if [ -n "${HWADDR}" ]; then
FOUNDMACADDR=`get_hwaddr ${REALDEVICE}`
if [ "${FOUNDMACADDR}" != "${HWADDR}" ]; then
curdev=`get_device_by_hwaddr ${HWADDR}`
if [ -n "$curdev" ]; then
rename_device "${REALDEVICE}" "${HWADDR}" "${curdev}" || {
echo $"Device ${DEVICE} has different MAC address than expected, ignoring."
[Code].....
But in fc 12 release there is no function rename_device!!!!!!!!! So in this case if HWADDR value is not the same as FOUNDMACADDR value (which equal to REALDEVICE mac address) i just get an error message So I can't change interfaces names, as result i can't organize right order of network interfaces as it was earlier on fc7.
View 1 Replies
View Related
Mar 26, 2009
So I have two network Interfaces
eth0 - NAT behind a router
eth1 - Public IP
When ever I restart the machine, both interfaces pull a IP, but the it randomly chooses eth0 or eth1 to have the gateway. I want the gateway to be eth0 always.
[Code]...
Is there some file or setting I can modify in Fedora10 that will always choose 192.168.1.1 on eth0 as the default gateway?
View 2 Replies
View Related
May 15, 2009
if I want to do eth1, eth1:0, eth1:1 etc and automatically configure them at startup where do I put that in the network-scripts?
View 2 Replies
View Related
Jun 23, 2009
If I restart the network service, not all interfaces come back up. Is this expected behaviour or does something need a kick?
Code:
[root@@aspire3500 ~]$ service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface wlan0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
[root@@aspire3500 ~]$
View 3 Replies
View Related
Aug 20, 2011
I'm having trouble getting Fedora 15 to work with my em/bond/br configuration as it did in Fedora 14. I've got a bonding interface over em1 and em2, and then individual bond vlans (bond0.2, bond0.10, etc...), I then have a similarly named bridge interface (br0.2, br0.10, etc...) for kvm. Regardless of if I assign bond0.2 or br0.2 the IP address, I am unable to ping the gateway, but the native untagged VLAN (bond0, br0) has no issue at all.
To try to isolate this issue down to the switch or Fedora 15, I went with a plain em setup and configured em1, and em1.2 which works as expected. This issue has been plaguing me since Fedora 15 came out and I'm about to trash it and go back to Fedora 14 (Which didn't have this issue), but some of the new kvm features have kept me trying to get over this incomprehensible hump.
View 1 Replies
View Related
Jun 17, 2009
Wich is the file for the menubar Sistem->Administration->Control Net Interfaces(I think this is the translation)
sorry if it doesn't.
View 1 Replies
View Related
Aug 12, 2010
I have three VMs (VMWare Server 2) all running Ubuntu Server 10.04. (one I asked to be a samba share from the outset, the others are blank server installs, no pre-config)
I follow the layout in the community documentation regarding setting up firewall rules through iptables. I.e. I create a file called iptables.rules and place it in /etc. I then modify the /etc/network/interfaces file to look like this:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
[Code].....
However this third one I have reinstalled Ubuntu 3 times now, and every time as soon as I modify the /etc/network/interfaces file, eth0 fails to start up (is not visible in ifconfig, only the loopback adapter), and no networking works.
I have tried reducing the iptables.rules file (which is a carbon copy across all machines anyway) to a basic accept all rule, and it still doesn't like it. As soon as I remove those two extra lines in the interfaces file, the network starts up no problems and eth0 is there.
View 2 Replies
View Related
May 1, 2010
This morning I was configuring a DNS server through Yast at home, I've done it once before (in another wireless lan)and it works perfectly. But this morning, after I clicked "start dns server now", everything freezed, and caps lock light on keyboard kept flashing. I rebooted laptop,it couldn't boot into run level-5 and there were few "skipped" items and "failed" items displayed.... Sorry I'm new to linux so I re-installed it this afternoon, and kept /home partition, formatted / partition.
Everything seems to be fine after re-installation, again I tried configuring a DNS server and clicked "start dns server now", but the same problem appeared, caps lock light kept flashing and I rebooted the laptop but fortunately this time it didn't fail on any items when booting
In Yast-Network Settings, I choose "use controlled with network manager", and I can connect to wireless router and browsing web, but there are no any interfaces shown in Yast-Firewall, and this time, after I clicked "start dns server now", nothing happens, dns server just won't start...
View 7 Replies
View Related
Jul 3, 2010
Quick question guys and gals: How do I get "wlan0" and "eth0" interfaces to start at startup as as well as for "dhclient" to obtain an IP address automatically for "eth0?"
View 7 Replies
View Related
May 6, 2011
I'm testing some network setups, and bought two dirt-cheap USB network interfaces. My plan was to attach these two to an embedded device (sheevaplug) and mess with firewall setups. However, the two interfaces are absolutely identical; they have the same MAC, and lsusb -v is the same for both, line by line (except for device number, which tells the order the devices are plugged in, I believe?). Also, this is a single usb bus (single port, with a hub).
Now, obviously I can't make much of a firewall setup if I can't tell the interfaces apart. I realize I probably hit a brick wall, but does anyone have thoughts on this?
View 4 Replies
View Related
Oct 16, 2010
I have two interfaces, gprs0 and gprs1, both connected to the Internet from the same HW device, but through two different access points I just read another blog entry with a guy who had two network cards, using one as a back up - I guess this is a little similar, but should be much easier I am guessing - I am just lost Using ifconfig (IP address given by the network) and route to setup the connection,
ifconfig gprs0 10.20.30.40 up
route add default dev gprs0
ping 66.102.7.99 works fine
afterwards
[code]....
There is data being transmitted and received to device again, I guess the kernel just doesn't know where the incoming data should go without the correct routing tables? Or what exactly is going on?The question I have is how do I configure the device to do the correct routing, using only the ifconfig and route commands? Maybe too trivial for you guys, but I am getting tired of goofing around not knowing what is up and down anymore
View 1 Replies
View Related
Jun 24, 2011
I'm using Debian Squeeze with backports turned on and I've installed connman and it cannot see my wireless networking interface. I know my wireless card has a working driver because I have WICD on the same system and it connects just fine.I am using the Enlightenment desktop though and it only integrates with the connman wireless manager - so I would prefer to use this instead of WICD. Anyone have any ideas on how I can get connman working? What extra configuration needs to be done after installing?
I added my user to have the same permissions as root to the /etc/dbus-1/system.d/connman.conf file and I added my tiwlan0 to /etc/network/interfaces as a DHCP connection with no changes in functionality :-/. Been searching around online and reading man pages for the last couple days with no good results. Any input would be awesome!
View 5 Replies
View Related
Oct 31, 2010
What is the use of creating sub interfaces, for example eth0.1 etc. can someone please give an example of a situation where it would be useful
View 3 Replies
View Related
Feb 6, 2011
I have a laptop "fura1" with two interfaces, eth0 (Ethernet) and eth1 (wifi), which I assign IPs 192.168.1.10 and 192.168.1.11 respectively. Then a desktop "fura2" with only one interface eth0 (Ethernet). Both are connected to a local network along with other appliances. My doubts arise on how to configure the /etc/hosts file of the desktop "fura2" taking in account that "fura1" has two interfaces, so two IP, but, obviously, only one hostname.
My first attempt for /etc/hosts of "fura2" was:
127.0.0.1localhost
127.0.1.1fura2
192.168.1.10 fura1 fura1.workgroup
192.168.1.11 fura1 fura1.workgroup
192.168.1.102 PDA PDA.workgroup
192.168.1.103 MT MT.workgroup
But it seems to my that assigning two different IPs to the same host is not a good solution. On the other hand, if I give different name to each interface, I will got a host with two hostname (?).
View 2 Replies
View Related
Apr 14, 2011
I am seeing an issue on a few servers where it doesn't appear all NICs in the 802.3ad lag are all operating at the same level. A few of the servers have two bonds each with two NICs in each bond.I have two NFS servers that each has 1 bond with 3 NICs.All are RHEL5 x64 2.6.18.I think the reason why I see one interface dominating RX and another dominating TX is due to the xmit_hash_policy but there are three hosts that use this particular server for network traffic.That's 3 different physical mac addresses.The layer2 algorithm should be fine in that situation I would think.Would I just be better off with balance-rr?
View 3 Replies
View Related
Nov 20, 2010
I have two eth interfaces bridged in CentOS, one of these interface is connected to a Windows Server, I can do a ifconfig down on both these interfaces and there is no change of status at the windows side, I don't get the message that 'network cable has been unplugged'
Is this behavior normal ? I think when you shut an interface than you get the interface down message at other end ? And what becomes the status of the bridge if I shutdown one of its interface ?
View 1 Replies
View Related
Mar 11, 2010
I would like a basic firewall on my netbook and first attempted this by using firestarter as i have no experience in writing IPTABLES rules from first principle and to be honest the syntax looks horrific! the problem with firestarted is that when i selected WLAN0 to be the internet connected port everything worked fine until i connected to a VPN at which nothing would work (the only error i got was when pinging an IP address when i got sendmsg not permitted) my normal setup is this.... normally im connected via WLAN0 to the internet. but one one particular network i must activate the VPN to use anything, this creates another interface tun0. both wlan0 and tun0 will be assigned an ip address but only the tun0 will do anything (the wlan0 one is configured by the network to just allow traffic to the vpn gateway and nothing else) what i really need is some way of creating a basic firewall (drop all incomming except ports i specify) that lives on wlan0 unless tun0 is active in which case it moves to tun0
View 3 Replies
View Related
Apr 10, 2010
I have 2 interfaces (only one wan facing) with public ip addressing. when i nat to the outside network, inside routed networks work fine, but when i nat to the inside interface the routed networks no longer work. That is too say when I nat to an inside ip, I appear natted, and not routed, to routed ip. My question relates to iptables: How to I say 'nat everything but the routed networks'? I have found that -d ! x.routed.1.x/x works: but I would like to write the rule so that it says -d ! x.routed.1.x/x + x.routed.2.x/x
Nat outside, working routed net:
Code:
iptables -t nat -A POSTROUTING -i x.ouside.eth.x -s 192.x.x.x/x -j SNAT --to x.outside.eth.ip
This works and I get 1 routed network (I have to drop the -i to make it work - why?):
Code:
iptables -t nat -A POSTROUTING -s 192.x.x.x/x -d ! x.routed.1.x/x -j SNAT --to x.inside.eth.ip
I would like something like this:
Code:
iptables -t nat -A POSTROUTING -s 192.x.x.x/x -d ! x.routed.1.x/x + x.routed.2.x/x /
-j SNAT --to x.inside.eth.ip
View 3 Replies
View Related
Jan 26, 2011
I change the interfaces file to activate the DHCP service for my eth0.
How do I make the service active without booting the system. In other word, how do I run the modified interfaces file?
View 4 Replies
View Related
Jun 28, 2011
I have a UBUNTU server 10.04 LTS with 3 network interfaces (eth0,1,2) with eth0 is connected to my lan and others connected to two different ISPs , I am looking for a very flexible and complete monitoring tool which can monitor all of the traffic of incoming and outgoing of any interface and SPECIALLY can show me which local client made connection to which interface for connecting to internet in online mode not offline and it is good to have online web base interface I mean the interface shows the measured data in real time mode. I fount some tools like iftop and iptraf and many others in this url: http://www.ubuntugeek.com/bandwidth-...for-linux.html but non of them are suitable for my net I mean none of them have good web real time data and non of them shows "which local client made connection to which interface for connecting to internet".
View 2 Replies
View Related
Feb 16, 2011
Is there a way to do multiple interfaces in tcpdump? I have found that when using "-i any", not all packets are captured (compared to "-i eth0" on a machine with only one interface). I need to monitor traffic on some machines with as many as 6 interfaces, and get these packets that "-i any" misses. When I give the "-i" option multiple times, it seems to only use the last one.
View 3 Replies
View Related
Sep 29, 2010
I have installed Debian 5 and dident configure the network interfaces at installation.Now i am not able to connect to the internet through Ethernet or Wireless. How do i configure the interfaces after installation ?PS. the interfaces show up as "Not configured" in the network manager
View 5 Replies
View Related
Jun 28, 2011
Is there a way to add the wireless network which has a WPA/WPA2/certificate + Peap+MsChap+user+password to /etc/network/interfaces? Am trying to do a bash script that asks user and password and dumps it with addition info such as Peap/Mschapv2/cert into /etc/network/interfaces so it could be automatically activated. Any Ideas? Am on ubuntu 10.04 - using the GUI network-manager it connects without any problem after adding the user/pass/cert/mschapv2/peap. But I wanted to be configured thru command line?
View 1 Replies
View Related