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