I think the culprit is the ifcfg-eth0:1. Its not the new virtual ip 
ifcfg-eth0:2 I'm trying to add. I remove the ifcfg-eth0:2 coz I thought it was 
the problem but after I remove it and restart the network, error still show up. 
Probably wrong broadcast address in ifcfg-eth0:1. Here is the snippet:

DEVICE=eth0:1
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.12.0.2
NETMASK=255.255.255.248
BROADCAST=10.12.0.248

I change broadcast to 10.12.0.7 but still encountered SIOCADDRT: Network is 
unreachable. 

Would there be other conflict? A firewall issue?

@Jepoy

310. is only a sample hehehe




----- Original Message ----
From: jepoy <[EMAIL PROTECTED]>
To: Philippine Linux Users' Group (PLUG) Technical Discussion List 
<[email protected]>
Sent: Thursday, March 6, 2008 7:51:17 AM
Subject: Re: [plug] SIOCADDRT: Network is unreachable

IP Address using 310 ? wow what is it... afaik its only up to 255 hehe

Nelson Serafica <[EMAIL PROTECTED]> wrote: My client will be changing Internet 
provider so I need to change the server's ip. The weird thing is, the netmask 
the telco provide is 255.255.255.255 and also provide a gateway. I doubt that 
255.255.255.255 will work but its the one provided so I give it a try. So I 
configure firewall and create a virtual ip ifcfg-eth0:2 and put the ff:

DEVICE=eth0:2
ONBOOT=yes
BOOTPROTO=static
IPADDR=310.4.20.224    
GATEWAY=310.4.20.1
NETMASK=255.255.255.255

When I restart the network, it says "SIOCADDRT: Network is unreachable". See 
below:

Shutting down  interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
SIOCADDRT: Network is unreachable
Setting network parameters:                                [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface  eth0:                                [  OK  ]
SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable

I also change NETMASK to 255.255.255.0 but error still appears. Please note 
that I can ping 310.4.20.1. I have Google that 255.255.255.255 is not usable 
except as loopback. 

What might cause the problem? Is it the subnet or the config in the ifcfg? 




            Tired of spam? Yahoo! Mail has the best spam protection around
  http://ph.mail.yahoo.com_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph


                            JCB 
    Registered Linux User #371834
  http://counter.li.org
   














 

      
Never miss a thing.   Make Yahoo your homepage.

-----Inline Attachment Follows-----

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph






      
____________________________________________________ 
Tired of spam? Yahoo! Mail has the best spam protection around 
http://ph.mail.yahoo.com 
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to