Ad Widget

Collapse

Zabbix Server with 3 NIC one per VLAN

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • a.lafauci
    Junior Member
    • Jul 2012
    • 1

    #1

    Zabbix Server with 3 NIC one per VLAN

    Hi all,
    I would like to monitor different servers on different vlans without using gateways so I would like to have 3 differents NIC on the Zabbix server each one connected to a separate VLAN. Do you think that this configuration is possible or not? How can I specify that the zbx server has to listen and to send checks on a specific NIC instead of using the default one ?

    Thank you very much,

    ALF
  • Udo
    Junior Member
    • Jul 2012
    • 6

    #2
    Originally posted by a.lafauci
    Do you think that this configuration is possible or not?
    Sure!
    How can I specify that the zbx server has to listen and to send checks on a specific NIC instead of using the default one ?
    Each NIC has to have an IP address in the corresponding network. The routing table (which is maintained automatically for trivial cases like this) will send data out of the correct NIC. Take a look at the output of "ip address list" and "ip route list".

    Only one NICs configuration has a default gateway. Traffic to networks of the other NICs wil NOT be sent to that gateway, no routing is necessary.

    OK?

    PS: when you connect more than one network to one computer (using more than one NIC) make sure not to create a router by accident. "cat /proc/sys/net/ipv4/ip_forward" should give "0".
    --
    Udo
    (first post :-)

    Comment

    Working...