OSSIM : configure the ethernet interfaces

configure the ethernet interfaces

The OSSIM server we plan will have a Main ethernet interface with IP address 10.60.60.33/8 and two interfaces in promiscuous mode for monitoring the 2 LANs.

We edit /etc/network/interfaces and come out with this:

auto lo eth0 eth1 eth2
iface lo inet loopback

# The primary network interface
# this is for managing the SIM machine
iface eth0 inet static
address 10.60.60.33
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.255.255.255
gateway 10.60.60.44
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.60.60.44

#eth1   is for monitoring the LAN A network
#             no ip address, promiscuous mode
iface eth1 inet manual
up ifconfig $IFACE 0.0.0.0 up
up ifconfig $IFACE promisc
down ifconfig down
#

# eth2 is for monitoring the LAN B network
# no ip address, promiscuous mode
iface eth2 inet manual
up ifconfig $IFACE 0.0.0.0 up
up ifconfig $IFACE promisc
down ifconfig $IFACE down

After saving the /etc/network/interfaces file you need to run
#/etc/init.d/networking restart

#ifconfig will show you whether the configuration has been successful or not.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.