Re: Problem with ETH0:1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been using this for a while and it works great for me. I keep
my separate networks on separate cards.

cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Realtek Semiconductor Co., Ltd. RTL-8029(AS)
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0

cat /etc/sysconfig/network-scripts/ifcfg-eth2
# Realtek Semiconductor Co., Ltd. RTL-8029(AS)
DEVICE=eth1:1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.254

cat /etc/sysconfig/network-scripts/ifcfg-eth3
# Intel Corp. 82557/8/9 [Ethernet Pro 100]
DEVICE=eth2
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.2.1
NETMASK=255.255.255.0

cat /etc/sysconfig/network-scripts/ifcfg-eth4
# Intel Corp. 82557/8/9 [Ethernet Pro 100]
DEVICE=eth2:1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.2.254

Steven

On Wed, 19 Jan 2005 13:51:12 +0100, Franco <primo@xxxxxxxxxxxxx> wrote:
> Tony Dietrich ha scritto:
> > On Wednesday 19 Jan 2005 09:05, Franco wrote:
> >
> >>Hi, i have 2 subnet on my network 80.xxx.xxx.xxx and 82.xxx.xxx.xxx,
> >>i have a FC2 with a ip NIC 80.xxx.xxx.xxx and i have added a virtual NIC
> >>eth0:1 with ip 82.xxx.xxx.xxx it work fine but in some case eth0:1 gone
> >>down without error in the error log or other.
> >>When i restart a network /etc/init.d/network restart it don't come
> >>back up. I need /sbin/ifup eth0:1.
> >>Any idea to resolve?
> >>Thanks.
> >
> > We already replied to you.
> 
> Yes this is the reply:
> 
>         >>do a
>         >>$ less /etc/sysconfig/network-scripts/ifcfg-eth0
>         >>look at the structure of the above file, then build one that                  >>is
> structured equivalently but with your secondary ip-address              >>keyed in
> $ vi /etc/sysconfig/network-scripts/ifcfg-eth0:1
>         >>then  $ /etc/rc.d/init.d/network restart
> 
> Ok but i ask if i need to change only the ip or also the subnet and gateway.
> This is my ifcfg-eth0 and ifcfg-eth0:1
> 
> # VIA Technologies|VT6102 [Rhine-II]
> DEVICE=eth0
> BOOTPROTO=static
> BROADCAST=80.xxx.xxx.143
> HWADDR=00:11:2F:04:0A:E5
> IPADDR=80.xxx.xxx.138
> NETMASK=255.255.255.240
> NETWORK=80.xxx.xxx.128
> ONBOOT=yes
> TYPE=Ethernet
> 
> MTU=""
> NETMASK=255.255.255.224
> ONPARENT=yes
> BROADCAST=82.xxx.xxx.63
> BOOTPROTO=static
> IPADDR=82.xxx.xxx.34
> NETWORK=82.xxx.xxx.32
> ONBOOT=yes
> DEVICE=eth0:1
> 
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux