HomePage » Network


Network Probe
Nmap

Software firewall
iptables
ipfw

Traffic shaping
tc

Network Services
DNS
DHCP
Stunnel
OpenVPN

Other network stuff
ifconfig
Default gateway in different subnet
tcpdump

Getting vlan id

Need to see what vlan id an interface is connected to?
tcpdump -nn -v  -s 1500 -c 1 'ether[20:2] == 0x2000' -i eth0
# then do a broadcast ping, possibly on another screen


On Solaris:
snoop -d <interface> -x0 -v 'ether[20:2] = 0x2000'


Firewire networking

Firewire networking under linux is extremely easy. Tested on FC5
Note: On Fedora Core 7, firewall stack has been rewritten. Don't know what that means but the default kernel does not have eth1394 enabled. To use firewire networking, one need to re-compile the kernel.

modprobe eth1394
echo "alias eth1 eth1394 >> /etc/modprobe.conf"
ifconfig eth1 10.0.0.1 netmask 255.255.255.0


It's a little tricker to get firewire networking to work on FC6. I got the following after many attempts. Remember this will break when the kernel is upgraded.
alias eth1 eth1394
install eth1394 modprobe -k raw1394; insmod  /lib/modules/2.6.18-1.2798.fc6/kernel/drivers/ieee1394/eth1394.ko 


There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki