[NTLUG:Discuss] eth0:1 alias not pinging

Neil Aggarwal neil at JAMMConsulting.com
Fri Sep 1 14:27:36 CDT 2006


Hello:

I have a machine running on a T1 line from Xspedius.

When I installed the machine, I used the first IP I was
assigned (209.12.138.18) on the eth0 interface.

Now, I want to add the two additional IP addresses
as aliases eth0:1 and eth0:2.

I issued these commands:

/sbin/ifconfig eth0:1 209.12.138.19 netmask 255.255.255.240 broadcast
209.12.138.31
/sbin/ifconfig eth0:2 209.12.138.20 netmask 255.255.255.240 broadcast
209.12.138.31

Everything looks fine.  ifconfig gives me:

eth0      Link encap:Ethernet  HWaddr 00:30:BD:BB:30:68  
          inet addr:209.12.138.18  Bcast:209.12.138.31  Mask:255.255.255.240
          inet6 addr: fe80::230:bdff:febb:3068/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1590608 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1503613 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1428152974 (1.3 GiB)  TX bytes:467708931 (446.0 MiB)
          Interrupt:19 Base address:0xe000 

eth0:1    Link encap:Ethernet  HWaddr 00:30:BD:BB:30:68  
          inet addr:209.12.138.19  Bcast:209.12.138.31  Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xe000 

eth0:2    Link encap:Ethernet  HWaddr 00:30:BD:BB:30:68  
          inet addr:209.12.138.20  Bcast:209.12.138.31  Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xe000 


I can ping 209.12.138.18 from the outside world, but not .19 or .20.

I called Xspedius and they told me that everything is set correctly on their
side.

I checked the firewall rules, it is set to allow all incoming icmp.

Did I forget something or is Xspedius misleading me?

Thanks,
	Neil

--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.




More information about the Discuss mailing list