I have a FreeBSD host that has two network cards. I've placed one public IP on bge0 and another public IP on the same subnet on bge1. It looks like this, I've masked my public IP addresses as 172.16.0.0
bge0: 172.16.0.100
bge1: 172.16.0.101
The default route is 172.16.0.1. When I issue a netstat -rn, the default route appears on the be0 interface.
I've created a jail and bound it to 172.16.0.101. I'm also graphing the traffic on both interfaces. What's interesting is traffic inbound to 172.16.0.101 shows on the bge1 interface but traffic outbound from 172.16.0.101 shows on the bge0 interface. Is this because the default route is attached to bge0? The only reason I put the additional IP on the second interface is because I wanted to graph its traffic separatly from the other IP.
Any advice would be appreciated.
bge0: 172.16.0.100
bge1: 172.16.0.101
The default route is 172.16.0.1. When I issue a netstat -rn, the default route appears on the be0 interface.
I've created a jail and bound it to 172.16.0.101. I'm also graphing the traffic on both interfaces. What's interesting is traffic inbound to 172.16.0.101 shows on the bge1 interface but traffic outbound from 172.16.0.101 shows on the bge0 interface. Is this because the default route is attached to bge0? The only reason I put the additional IP on the second interface is because I wanted to graph its traffic separatly from the other IP.
Any advice would be appreciated.