Showing posts with label networking. Show all posts
Showing posts with label networking. Show all posts

Tuesday, October 2, 2012

VMware ESXi with software bridges

If trying to bridge physical networks using a firewall distro (e.g. Zeroshell, pfSense, etc.) on a VMware ESX host, the "Promiscuous" property on the virtual switch must be set to "Accept".

It appears that when "Promiscuous" mode is not enabled VMware ESX only accepts packets destined to MAC's on the VMware guest NIC's.  When a bridge is created a new MAC is assigned within software, but VMware is not aware of this MAC.

Monday, August 6, 2012

Linux route add

Syntax for adding a route in Linux:
route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.2
List routes:
netstat -rn
Delete route:
route delete net 192.168.2.0
Add static route:
nano /etc/network/interfaces
post-up route add -net 192.168.2.0/24 gw 192.168.1.2 dev eth1
pre-down route delete -net 192.168.2.0/16 gw 192.168.1.2
Add/Change default gateway:
ip route add default via 192.168.1.254