Hi,

This is kind of related to this bug, so I've reopened it.

I have an interface with multiple addresses assigned to it with the ip(8)
command. These additional addresses aren't reported with ifconfig(8).

ipofif(8) doesn't report these addresses either, so the rules generated by
ipmasq do not allow traffic to/from these additional addresses.

e.g.:

[EMAIL PROTECTED]:/etc/ipmasq/rules$ ip a s dev eth0
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:08:02:52:49:d7 brd ff:ff:ff:ff:ff:ff
    inet 69.12.141.94/24 brd 69.255.255.255 scope global eth0
    inet 69.12.141.92/24 brd 69.12.141.255 scope global secondary eth0
    inet 69.12.141.93/24 brd 69.12.141.255 scope global secondary eth0
    inet6 fe80::208:2ff:fe52:49d7/64 scope link
       valid_lft forever preferred_lft forever
[EMAIL PROTECTED]:/etc/ipmasq/rules$ /sbin/ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:08:02:52:49:D7
          inet addr:69.12.141.94  Bcast:69.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::208:2ff:fe52:49d7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1691069 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1583279 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1158411006 (1.0 GiB)  TX bytes:1001610728 (955.2 MiB)

[EMAIL PROTECTED]:/etc/ipmasq/rules$ /usr/sbin/ipofif eth0
69.12.141.94

regards

Andrew


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to