Re: Network interfaces not reachable

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

 



Dear All,

For your information. If the RHEL server setup within local area network. You may either configure each Network Interface card by:

1) Receiving IP address from nearest DHCP server appliance e.g network switches
2) Manual. By allocate exactly. Static IP address for each Network Interface card.

For manually configured static IP Address. You may refer the following command:

$ ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy up
$ ifconfig eth1 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy up
$ ifconfig  eth2 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy up

 
where xxx = IPv4 static ip address
and yyy = IPV4 netmask ip address.

Regards,


MOHAMMAD ADLI BIN MT TAJUDIN
A8-2-7, DESA PANDAN APARTMENTS,
OFF JALAN KG. PANDAN,
55100 KUALA LUMPUR,
WEST MALAYSIA.


H/p number:  (017) 362 3661
Email: white.heron@xxxxxxxxx


________________________________
 From: Bob Sauvage <bob.sauvage@xxxxxx>
To: redhat-list@xxxxxxxxxx 
Sent: Thursday, December 15, 2011 6:59 PM
Subject: Re: Network interfaces not reachable
 
Hello,

Firtst of all, thanks a lot for your responses.

1. @Marco : I mean by 'not reachable' that nether my local network, 
nether the internet can ping my network interfaces.

2. @Mark : I use RHEL 6, I will look in '70-persistant-net'.

3. @FrankCui : Here my network interfaces config :

*ETH0 : *

BOOTPROTO=none
BROADCAST={PUBLIC BROADCAST IP}
DEVICE=eth0
HWADDR=00:1B:21:30:48:1E
IPADDR={PUBLIC IP}
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NETMASK=255.255.255.224
NETWORK={PUBLIC NETWORK IP}
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet

*ETH1 : *

BOOTPROTO=none
BROADCAST={PUBLIC BROADCAST IP}
DEFROUTE=yes
DEVICE=eth1
GATEWAY={PUBLIC GATEWAY IP}
HWADDR=00:15:17:89:31:48
IPADDR={PUBLIC IP}
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NETMASK=255.255.255.224
NETWORK={PUBLIC NETWORK IP}
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet

*ETH1:XXX1 :* (all subinterfaces are on the same network but different 
from the network of ETH0 and ETH1)

BOOTPROTO=none
DEVICE=eth1:XXX1
IPADDR={PUBLIC IP}
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet

*ETH1:XXX2 :*

BOOTPROTO=none
DEVICE=eth1:XX2
IPADDR={PUBLIC IP}
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet

*ETH1:XXX3 :*

BOOTPROTO=none
DEVICE=eth1:XXX3
IPADDR={PUBLIC IP}
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet

*ETH2 : *

DEVICE="eth2"
HWADDR="00:15:17:89:31:49"
NM_CONTROLLED="yes"
ONBOOT="no"



On 12/14/2011 05:42 PM, Marco Shaw wrote:
> Hi,
>
> Can you further define "not reachable" with exact details?
>
> Marco
>
> On Wed, Dec 14, 2011 at 12:34 PM, Bob Sauvage<bob.sauvage@xxxxxx>  wrote:
>> Hello *,
>>
>> I've configured my two network interfaces : ETH0 and ETH1. ETH1 has 3
>> subinterfaces.
>>
>> When I restart my server or just the network by 'service network restart',
>> my networks interfaces are no longer reachable.
>>
>> I have to stop ETH0 and after ETH1. Then, I restart ETH1, I stop ETH1:xxx1
>> and then the network is reachable. And finaly, I can restart my ETH1:xxx1.
>>
>> I feel like I have to restart interfaces in a certain order.
>>
>> Do you have any ideas ?
>>
>> Thanks in advance,
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
> Is this CentOS 5.7 or 6? Have you looked in
> /etc/udev/rules.d/70-persistant-net,rules, to see if something's out of
> whack?
>
>           mark
>
>
>


>
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux