| Linode Forum https://forum.linode.com/ |
|
| Non-Linode RHEL question https://forum.linode.com/viewtopic.php?f=19&t=4249 |
Page 1 of 1 |
| Author: | astrashe3 [ Fri May 22, 2009 10:24 am ] |
| Post subject: | Non-Linode RHEL question |
I'm trying to add a 2nd IP address to a network adapter on a physical server. The machine is running a very old RHEL (v 3). It's at a colo facility, and I don't have easy access to it. I didn't set any of this up -- I'm trying to move stuff off of these machines, on to modern boxes. The box has two NICs built in, and an add in card. The NIC that's being used is the one on the add in card -- no cables are plugged into the others. I want to add the second IP address to the add in card. The card shows up like this in ifconfig: Code: dev15200 Link encap:Ethernet HWaddr 00:10:18:16:4B:BE Under /etc/sysconfig/network-scripts, I have a file called ifcfg-eth0 that looks like this: Code: # Broadcom Corporation|NetXtreme BCM5703X Gigabit Ethernet I know how to set up eth0:0 if eth0 already exists. But I'm not sure how to set it up in this situation, or how to set up a dev15200:0. I've tried a couple of ifcfg-eth0:0 config files -- one with the device name eth0:0, and one with the device dev15200:0. Is there a way to do this? |
|
| Author: | path [ Fri May 22, 2009 11:00 am ] |
| Post subject: | |
I've never seen a device named like that before. I also have a very ancient RHEL 3 server with a few aliases and a few nics. They use the normal eth0 names though. I have a file named /etc/sysconfig/network-scripts/ifcfg-eth0-range0 and it just contains the following. Putting the device name in the file name is important for the RHEL scripts to read this. If you provide a range of ten IPs below, it'll do eth0:0 through eth0:9. Code: IPADDR_START=XXX.XXX.XXX.XXX |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|