On 3/6/08, Nelson Serafica <[EMAIL PROTECTED]> wrote: > > I change broadcast to 10.12.0.7 but still encountered SIOCADDRT: Network is > unreachable.
i guess you're setting up a gateway address that is not on you local network. if your net is 10.12.0.0/24, the gateway ip should be in that range too. also what is the output of: ifconfig eth0:1 10.12.0.2 netmask 255.255.255.248 up ? > > 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 > --edel _________________________________________________ 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

