Hi,
I think you need to configure this in
/etc/sysconfig/networking-scripts/. This is an excerpt of that
directory when I do an ls -al of that directory and my primary device
is ifcfg-eth1 and aliases are ifcfg-eth1:0 to ifcfg-eth1:6:
drwxr-xr-x 2 root root 4096 Jan 30 18:33 .
drwxr-xr-x 11 root root 4096 Feb 13 18:03 ..
-rw-r--r-- 3 root root 274 Nov 11 2007 ifcfg-eth0
-rw-r--r-- 3 root root 271 Nov 11 2007 ifcfg-eth1
-rw-r--r-- 3 root root 237 Nov 11 2007 ifcfg-eth1:0
-rw-r--r-- 3 root root 244 Nov 11 2007 ifcfg-eth1:1
-rw-r--r-- 3 root root 239 Nov 11 2007 ifcfg-eth1:2
-rw-r--r-- 3 root root 238 Nov 11 2007 ifcfg-eth1:3
-rw-r--r-- 3 root root 239 Nov 11 2007 ifcfg-eth1:4
-rw-r--r-- 3 root root 238 Nov 11 2007 ifcfg-eth1:5
-rw-r--r-- 3 root root 238 Nov 11 2007 ifcfg-eth1:6
-rw-r--r-- 3 root root 169 Nov 11 2007 ifcfg-eth2
And there are more files than these in this directory but have not
included them here.
Here is what is inside ifcfg-eth1. Note: I have changed the HWADDR
,DHCP_HOSTNAME and IPADDR so change this information for your network
and device MAC address:
# Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
DEVICE=eth1
BOOTPROTO=none
HWADDR=f0:00:ab:34:55:01
ONBOOT=yes
DHCP_HOSTNAME=mailserver.network.com
TYPE=Ethernet
IPADDR=169.255.255.4.
NETMASK=255.255.255.0
GATEWAY=169.255.255.1
USERCTL=no
IPV6INIT=no
PEERDNS=yes
And this is what is inside the ifcfg-eth1:0. Again note I have
changed DHCP_HOSTNAME and IPADDR so change this information for your
network:
# Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
DEVICE=eth1:0
BOOTPROTO=none
DHCP_HOSTNAME=dnsserver.network.com
TYPE=Ethernet
IPADDR=169.255.255.5
NETMASK=255.255.255.0
GATEWAY=169.255.255.1
USERCTL=no
IPV6INIT=no
PEERDNS=yes
Others network aliases are similar to ifcfg-eth1:0 other than the
DEVICE, DHCP_HOSTNAME and IPADDR changes with each aliases. Also note
that the HWADDR is missing from the aliases files.
Here is a link I saw about this:
http://www.cyberciti.biz/faq/linux-creating-or-adding-new-network-alias-to-a-network-card-nic/
I hope this helps,
Frank
all I want to do is add a second(static) ip (device alias 1) to my
interface in addition to the dhcp address all ready being procured .
I can find no combinations of 'Network Manager' settings that allows
this to happen .
If I plumb the interface manually after "Network Manager' is
finished initializing it works fine .
If I turn off NM I get this in the log
"localhost nm-system-settings: ifcfg-rh: Ignoring connection
'System eth0 ' and its device because NM_CONTROLLED was false."
"localhost nm-system-settings: ifcfg-rh: Ignoring connection
'System eth0:1' and its device because NM_CONTROLLED was false."
this should not be this difficult
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines