Hi folks,
I'm trying (with no success) to assign multiple IP addresses to eth0 on my
Bering-uClibc 2.1-rc1 box. 

At Tom's suggestion, I have read (studied really) his instructions at:
http://www.shorewall.net/shorewall_setup_guide.htm.

I have been assigned by our network admin the following addresses:
66.60.172.201-204, Gateway 205. In /etc/shorewall/masq I have made the
following entry:

#INTERFACE              SUBNET          ADDRESS
eth0:0                  eth1            66.60.172.201-66.60.172.204

When I save the file, restart shorewall, and issue the ip addr command I'm
expecting to see the additional addresses but here's what I get:

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:a0:cc:d3:c2:14 brd ff:ff:ff:ff:ff:ff
    inet 66.60.172.201/24 brd 66.60.172.255 scope global eth0
    inet 66.60.172.204/24 brd 66.60.172.255 scope global secondary eth0:0
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:a0:cc:52:07:52 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1
5: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:a0:cc:d3:cf:40 brd ff:ff:ff:ff:ff:ff

When I try to ping the addresses, I can ping only 66.60.172.201 but nothing
else. In the /etc/network/interfaces file, I have eth0 statically set to
66.60.172.201, and I use the dhcpd for assigning local addresses. I'm
stumped...any suggestions???

P.S. One thing I did gave me, what *I* think, was a really unusual result: I
had initially set eth0's static address as 66.60.172.204, and when I tried
to ping 66.60.172.201...here's what I got:

G:\WINNT\system32>ping 66.60.172.201
Pinging 66.60.172.201 with 32 bytes of data:
Reply from 66.60.172.204: Destination host unreachable.
Reply from 66.60.172.204: Destination host unreachable.
Reply from 66.60.172.204: Destination host unreachable.
Reply from 66.60.172.204: Destination host unreachable.
Ping statistics for 66.60.172.201:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum =  0ms, Average =  0ms

Is that really odd...or is it me??? :-) I see there's no packet loss...but I
also can't reach the box. Hmmmm.


Thank you as always,
Craig



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to