I'm having some trouble with ip aliasing and hoping someone could help me.
I have read the docs on this.
My network has 2 subnets. A partial class C 206.245.154.64 (ip addresses
206.245.154.65-206.245.154
.128) for servers and router. .65 is the router
And a FULL class C 205.147.217.0 for web customers and ppp connections
ip's 1-179 are allocated for ppp, 180-183 right now for customer's web
servers.
AMD complains on boot that "another unused interface was discovered
<aliased_ip>"
and then repeats the message for every ip I have
On the local LAN the aliasing seems to work fine. When I dial-up to the
router though on a ppp connection, i can't get to anything on the
205.147.217 network. Pings just time out. Nothing to them works.
Any help is appreciated. -Tony
This is the way i have the web server (206.245.154.68) w/the aliased web
servers set up.
** Under ifcfg-routes I have..
# Configure new sub network for aliases
route add -net 205.147.217.0 netmask 255.255.255.0 eth0
# Configure ip aliases
ifconfig eth0:0 205.147.217.180
ifconfig eth0:1 205.147.217.181
ifconfig eth0:2 205.147.217.182
ifconfig eth0:3 205.147.217.183
# Add static routes to hosts on this network
route add -host 205.147.217.180 eth0:0
route add -host 205.147.217.181 eth0:1
route add -host 205.147.217.182 eth0:2
route add -host 205.147.217.183 eth0:3
** Under route -n it says..
Destination Gateway Genmask Flags Metric Ref Use Iface
205.147.217.180 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:0
205.147.217.181 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:1
205.147.217.182 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:2
205.147.217.183 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:3
206.245.154.64 0.0.0.0 255.255.255.192 U 0 0 2 eth0
205.147.217.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0
0 1 lo
0.0.0.0 206.245.154.65 0.0.0.0 UG 1 0 0 eth0
** ifconfig says..
eth0:0 Link encap:10Mbps Ethernet HWaddr 00:A0:C9:60:50:0A
inet addr:205.147.217.180 Bcast:205.147.217.255 Mask:255.255.255.0
UP RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
etc..