Linux foxboard network monitor
- by het.oosten
I want to use a Foxboard a simple network monitor for multiple routers (all routers are connected to the internet). Foxboard is a mini pc with an embedded version of Debian.
My idea is to use multiple virtual network devices like this:
eth0 192.168.2.10
eth0:1 192.168.3.10
eth0:2 192.168.4.10
I found a nice Python script to ping an external host here (the solution from Ryan Cox):
http://stackoverflow.com/questions/316866/ping-a-site-in-python
Is it possible to configure Debian to use eth0 when I ping www.site-a.com and eth0:1 when I ping www.site-b.com?