check_dhcp on vlan interface

Marc Boisis-Delavaud mdelavau at univ-lr.fr
Tue Jan 23 18:29:08 CET 2007


Hello

My nagios server run on openbsd. I have one physical network  
interface (pcn0) with no ip.
Upon pcn0, I have 5 vlan interfaces .

This is an extract of ifconfig
pcn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         lladdr 00:50:56:a7:5c:4a
         media: Ethernet autoselect (autoselect)
         inet6 fe80::250:56ff:fea7:5c4a%pcn0 prefixlen 64 scopeid 0x1

vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
         lladdr 00:50:56:a7:5c:4a
         vlan: 1 priority: 0 parent interface: pcn0
         groups: vlan
         inet6 fe80::250:56ff:fea7:5c4a%vlan1 prefixlen 64 scopeid 0x6
         inet 10.1.11.156 netmask 0xffff0000 broadcast 10.1.255.255
vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
         lladdr 00:50:56:a7:5c:4a
         vlan: 10 priority: 0 parent interface: pcn0
         groups: vlan egress
         inet6 fe80::250:56ff:fea7:5c4a%vlan10 prefixlen 64 scopeid 0x7
         inet 10.10.10.25 netmask 0xffff0000 broadcast 10.10.255.255
...

I try to check a dhcp server on vlan 1, my check command is
check_dhcp -s 10.1.0.1 -i vlan1

When I tcpdump , the packet go out from vlan 10 !

Is it a bug or check_dhcp does'nt work with vlan interface ?

Marc




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list