Red Hat :: Change Eth1 To Eth0 ?
I'd like to ask you all for a simple thing on Slackware that I dont know how to do under RHEL 5.4.
Under Slackware 12.2 it is easy to change eth0 to eth1.
This should be done in file: /etc/udev/rules.d/75-network-devices.rules:
Well, under Red Hat it looks slight diffrent. It looks like RHEL does not use udev ( correct me if i am wrong but there is no simillar file in /etc/udev/rules.d and cant see any script in /etc/init.d/).
I have found that all NIC configuration is stored in /etc/sysconfig/netwotk-scripts/ifcfg-ethx.
On this file it is possible to place varible: HARDWARE=
However after reboot it doesnt work. So, my question is - how to assign eth[number] to specified MAC-addr ?
View 7 Replies (Posted: 06-22-2010, 05:00 AM)
Related Forum Messages For Linux category:
Fedora Networking :: Change Eth1 Into Eth0 And Viceversa?
I have two network devices :
1. Intel Corporation 82574L Gigabit Network Conncection (Currently eth0, Mac=00:0e:8c:ab:c6:b1)
2. National Semiconductor Corporation DP83815 (Currently eth1, Mac=00:0e:8c:8a:70:62)
I want to change them so that the "Intel" become eth1 device and the "National" become the eth0 device.
I already tried these steps :
1. I disabled the Network Manager and enabled network
2. Edit the /etc/udev/rules.d/70-persistent-net.rules like this
3. Change the /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network-scripts/ifcfg-eth1 MAC addresses.
5. After it bootup the Fedora can't recognize the devices, if I do ifconfig -a it shows "eth0_rename with FF:FF:FF:FF:FF:FF mac address".
Posted: 3rd April 2009, 12:48 PM
View 3 Replies!
Fedora :: Change The Network Default Eth0/eth1 In F12?
I'm using F12 on an old box which I have fitted with a new networkcard. I'm using the box as a music server (Twonkey) and want to use the new card (gigabit - eth1) as the default, but seem unable to. I can't switch of the mainboard ethernet option (eth0) in the bios and have tried to change the settings in the ifconfig-eth0 and -eth1 files by changing the hardware addresses as elsewhere recommended, but that doesn't work. During start-up it then gives me an error message that the MAC number was not the expected one. This would indicate that the network options are kept/read elsewhere. I'm not very familiar with Linux/F12. how to make the card the default option instead of the mainboard option.
Posted: 12-04-2010, 07:11 AM
View 8 Replies!
CentOS 5 Networking :: Eth0, Eth1, Eth1:0, Route = Get One Gateway For All The Eth?
I need to setup two ethernets in my Centos box. OK no problem both ethernet and 1 virtual works perfect. eth0, eth1 and eth1:0. I'm trying to set up diferent routes for eth0 and eth1/eth1:0 I need eth0 has a 192.168.1.1 gateway and eth1/eth1:0 192.168.1.100 gateway.I think I've tried almost every thing but always get one gateway for all the eth.These are my config..
eth0 Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX
inet addr:192.168.1.168 Bcast:192.168.1.255 Mask:255.255.255.0[code]......
Posted: 2011/3/4 14:18
View 7 Replies!
Networking :: Eth0 Fixed IP - Eth1 DHCP Gateway - Access To Eth0?
5.10 Breezy configured as machine controller. Works great eth0 is a fixed IP to communicate with controller comms board. Not easy at all to alter - the comms board is hard coded to listen on eth0 for commands.
I can use eth1 as the default gateway and ping google.com, etc. But when I now attempt to communicate with the controller with netcat, e.g.
Code: echo !HH | nc 192.168.1.6 80
I obviously never get an answer since the request is passed via eth1. Using the -g option with netcat doesn't work either. I had a look at iptables but it doesn't seem to be able to do what I want. How I can still use eth0 as my communication port to the controller whilst eth1 is the default gateway?
Posted: 08-19-2009, 11:31 AM
View 17 Replies!
Networking :: Production Server With Static IPs On Eth0 And Eth0:1 - Getting Private LAN On Eth1?
I have two servers on a vlan at my datacentre/colocation and previously both servers had public IPs on their eth0 interfaces. The servers are HP ProLiant DL360s - one is a G4 and one is a G5 The newer G5 is now the LAMP server and the G4 has been retired and I want to repurpose it as an iSCSI target using openfiler freenas or similar.
My G5 has public/static IPs lashed to the eth0 physical interface and the eth1 is not configured to do anything yet. The G4 will have both interfaces available - perhaps one for ssh access from one of my static public IPs and the other to be a private IP on the local vlan. Here is what I am trying to get my head around...
eth0 - Public IP - full LAMP services on two or three virtual interfaces
eth1 - Private IP 192.168.0.1
eth0 - Public IP for ssh
eth1 - Private IP 192.168.0.2
Because my traffic between eth1 on these boxes is via private IPs on the local private vlan it doesn't add to my quota for bandwidth. How do I go about configuring the routing and gateways and other aspects of this so that I can run a private IP space network between the eth1s and still serve the outside world from the eth0s...
I am afraid that if I assign the private IPs to the eth1 interfaces the routing may either not work or interfere with the access to the production internet facing interfaces (eth0s).
Posted: 07-01-2010, 12:29 AM
View 10 Replies!
Cant Connect To Both The Eth0 And Eth1 At The Same Time
I have 2 LAN ports. one from the motherboard (on board) and the other from a lan card i bought a few days back. one is use for browsing the net, the other for a media player. problem is i cant connect to both the eth0 and eth1 at the same time. i have to disconnect one of them to connect to the other. and this really gets irritating as it doesnt always work as flawlessly as it should. what am i doing wrong?
Posted: December 11th, 2010
View 4 Replies!
Networking :: Switch Eth1 To Eth0 ?
I installed Slackware 13.37 console only.
I have two ethernet cards.
I want to change eth1 to eth0 and eth0 to eth1, because I have some old firewall script and I need eth0 be eth1, because of routing internet. My ISP close my net connection on MAC adress.
Posted: 05-04-2011, 04:20 PM
View 2 Replies!
General :: How To Forward Eth1 To Eth0
We are currently having a windows virus outbreak in our corporate network, all the it guys using windows machines and they are infected of course.
My question is I have a internet enabled ubuntu 9.10 machine with two nics.
eth0 is for internet and I wanna distribute my internet connection from my other nic.
There are alotta switches and access points in our network but i placed my ubuntu desktop just like the infected windows machine. Everything seems working except other clients internet connections.
How to share internet connection on eth0 to eth1
Posted: 02-01-2010, 07:04 AM
View 2 Replies!
Debian :: Eth0 And Eth1 Conflict ?
I have a server with two gig-e ports, eth0 and eth1. When eth0 the only port that is connected to a network it will get online ok. It is the port used to connect to the internet. eth1 is used for PXE / TFTP / DHCP server for a private network. eth1 will serve ip's ok. The issue is when both are connected at the same time. eth0 to our LAN, and eth1 to the private network; eth0 does not ping or load pages in firefox. eth1 will still serve ips'. Is there any reason why eth0 would stop working if eth1 is connected to a switch? eth0 ip is 192.168.10.110, eth1 ip is 192.168.1.1 different subnets.
View 6 Replies!
General :: Which Card Is Eth0 And Which Is Eth1
I have a Linux machine with two Ethernet cards both using the Intel e1000 driver. lspci reports different models of Ethernet cards, but I can't tell which is eth0 and which is eth1. Other than turning off the machine and reading the chips, how can I tell which model is eth0 and which is eth1?
Posted: Nov 2 10 at 21:31
View 3 Replies!
Fedora Networking :: Why Primary Interface Is Eth1 Instead Of Eth0?
I have two network interfaces on my computer but only one of them is connected to an Ethernet cable. Until now on every Fedora release, the activated primary interface has been named as eth0 and everything has always worked well without any problem. Recently I switched to Fedora Core 12 and surprisingly I observed that for the first time, my primary interface has been considered by the system to be eth1 instead of eth0. I tried to replace the content of ifcfg-eth0 by ifcfg-eth1, yet system gave me an error that there was MAC address mismatching. I conserved their MAC addresses in their files and just replaced other connection parameters ( such as IP ADDR, NETWORK, NETMASK, etc.) but it did't work. When I do "server network restart", the command blocks.
As I try to install oracle on this system, regarding the fact that oracle requires static network configuration on the primary network interface, I don't know how to proceed in order to set eth0 as my primary interface (or rather set the current eth1 to eth0 because it is actually eth1 that refers to my activated primary network card).Just one more time, I would like to remark, that with previous versions of the Fedora Core, on the same computer (with the very same two network cards) I never had problem and I had installed oracle on the system with success, having the statically configured eth0 correctly detected by the system.
Posted: 31st January 2010, 12:15 PM
View 2 Replies!
Red Hat :: Configure Eth0 And Eth1 In Bonding Mode With 2 Vlans
I want to configure eth0 and eth1 in bonding mode with 2 vlans each (sam existing vlan 100 and 200)configured on 2 Cisco switches. How can I go about that? I got the following procedure for bonding from the internet, is it right?
1. Add the below lines to /etc/modprobe.conf alias bond0 bonding options bond0 mode=1 miimon=100
2. Create bond0 device file, /etc/sysconfig/network-scripts/ifcfg-bond0 with the following content:
Posted: 11-26-2010, 12:26 PM
View 1 Replies!
Ubuntu Servers :: Eth0 And Eth1 Cannot Work At The Same Time ?
I have two ethernet ports on my SuperMicro server. When I start the system, only eth1 is operable. If I ifup eth0, I get a message that it is already configured, but I can't ping any of the IPs on it.
If I ifdown eth1, then ifdown eth0 and ifup eth0, then I can ping any of the IPs on eth0 in the interfaces file. Of course, now eth1 is not reachable.
Posted: July 27th, 2011
View 4 Replies!
Networking :: Eth0 Works Great - Eth1 Not Working ?
Ok, so eth0 is up and working great. eth1, however, comes up with a link light, however the packet counters in ifconfig remain at 0. Appears that eth1 isn't working.
Here's my setup:
-Dell latitude CPi laptop with 2 PCMCIA network cards and no built-in ethernet.
-eth0 is connected inside my router on my 192 network. Static address with good connectivity
-eth1 is connected on the other side of my router in promiscuous mode in order to listen to the traffic coming into my network.
Troubleshooting so far: I have switched the pcmcia cards between slots and regardless of which card is in eth0 or eth1, eth0 works and eth1 does not. I have also switched the card dongle between cards as well as the ethernet cabling between the cards. With any of the combinations eth0 works like a champ but eth1 does not, so I think I've ruled out hardware problems.
Posted: 05-14-2010, 01:46 AM
View 14 Replies!
Networking :: Cable Disconneciton Eth0 And Eth1 Behaviour
I need to have the configuration showed on the attached file. I have two machines, one PC (ubuntu 9.10 ) and one embedded CPU with a tailored linux version starting from 2.4.31 linux kernel with Busybox running on PPC architecture.
PC address is 192.168.30.70.
On CPU board I have two ethernet interfaces with addresses :
eth0 192.168.30.30 netmask 255.255.255.0
eth1 192.168.30.40 netmask 255.255.255.0
PC sends messages alternatively to 192.168.30.40 and to 192.168.30.30 .Between two machines there is an ethernet switch to allow messages flowing.
I use ping (from two shells on PC I ping the two addresses on CPU) to simulate messages from PC to CPU and I see this behaviour:
Starting from a situation in which CPU responds to the pings I try to disconnect cable connected to eth0 on CPU. I cannot see any interruption on ping reply on the eth0 port. If i reconnect the cable on eth0 and I disconnect cable on eth1 there are no reply to the two pings (neither from eth0 nor from eth1). It seems that all data flows on one cable just because the addresses are on the same subnet. Is this right?
If this is the right behaviour how can i separate data from PC to CPU in order to force packets to flow on two cables and avoid this sort of internal routing beetween eth0 and eth1?
View 3 Replies!
Fedora Servers :: HTTPD Dual Nic Using Eth1 Instead Of Eth0
I've just setup Fedora 10 x64 on a Supermicro 7045 with dual nic; I setup a web site and ran into a strange problem; I can't see my website from outside my LAN; checking IP on Internet it sees my IP as coming for my dynamic IP (IP of router/switch) and not my static IP.
eth0: Static IP
eth1: Dynamic IP
These are standard Intel 82563EB Dual-Port Gigabit Ethernet Controller.
Is there a way to specify the order in which it sees the nic ports?
I'm wonder if I can mix Static and Dynamic IP's; on the outside they resolve to a static IP; the dynamic one shows up as my router/switch IP; but it allows me to access my DHCP computers; this isn't a web server; but a development machine for writing PHP apps.
Where 126.96.36.199 is my static IP address.
I should mention that nmap -v -p 80 188.8.131.52 shows an open port on 80
My VirtualHost is setup like:
Posted: 2nd March 2009, 11:15 PM
View 11 Replies!