IP aliasing issue

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Dryanta
Posts: 1
Joined: Tue May 17, 2005 5:50 pm

IP aliasing issue

Post by Dryanta »

I have several ips mapped to one interface on FreeBSD. Here is my ifconfig

Code: Select all

adept# ifconfig -a
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 67.106.14.154 netmask 0xfffffff8 broadcast 67.106.14.159
        inet6 fe80::211:5bff:fe0e:72d3%sis0 prefixlen 64 scopeid 0x1
        inet 67.106.14.155 netmask 0xffffffff broadcast 67.106.14.159
        inet 67.106.14.156 netmask 0xffffffff broadcast 67.106.14.159
        inet 67.106.14.157 netmask 0xffffffff broadcast 67.106.14.159
        inet 67.106.14.158 netmask 0xffffffff broadcast 67.106.14.159
        ether 00:11:5b:0e:72:d3
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
and cacti only sees 67.106.14.158. The IP of the traffic I am trying to track is .154. How do I make it see the first addy?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Well see, there is another problem...

Most snmp agents do not track traffic by IP address, they track it by Physical interface. What you are seeing is what would be considered the primary IP address on that interface.

To track traffic per IP address, you are going to have to use a custom script and some sort of firewall with logging. I personally have never done this and don't know if it's possible.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests