A universal truth
Aug. 27th, 2004 10:14 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I don’t think it’s documented anywhere but it seems to be a universal truth that on commercial firewalls, VPN concentrators, and all network devices that “straddle a security border” (i.e. have 2 NICs one on the inside and one on the outside) they always assign Ethernet 0 for the outside connection and Ethernet 1 for the inside connection. As I said, I don’t think this is required by law or even documented in books like this one or that one but they all seem to do it. On home-brew firewalls I always did it because I always have only one outside connection any potentially many inside connections, so by putting the outside connection first, it lets me have sequentially numbered inside connections. However I recently realized that the answer is more likely to be due to the fact that it is easier to remember that Ethernet 0 is for “O”utside, and Ethernet 1 is for “1”nside.
no subject
Date: 2004-08-27 08:31 am (UTC)On the firewall we just deployed, the outside interafce is numbered 4 (out of 8). We didn't do it on purpose; at least, we didn't decide that we wanted the outside interface to be number 4. Rather, we decided that we wanted a particular physical port in a particular location on the back of the box to be the external interface, and we ended up using whatever OpenBSD decided to number the ports.
We didn't think we'd end up with 4, though, as the interface chosen was the first of two interfaces hardwired to the motherborad, with 6 more on 3 dual-port PCI-X cards. Somehow, we expected the OS to number the devices a bit less randomly.
Sure, we could recreate the device special files in the order we'd prefer, but instead I just made up a map of the back of the box, distributed it to the appropriate folks, taped a copy to the firewall, and put a copy into our documentation system. I'll probably redo the device files in a few months, when we upgrade the OS and bring a redundant firewall online.
no subject
Date: 2004-08-27 10:36 am (UTC)Sentimental
Date: 2004-08-27 09:02 am (UTC)This kind of talk always gets to me - you, you, romantic you.
:)
Re: Sentimental
Date: 2004-08-27 10:29 am (UTC)no subject
Date: 2004-08-27 02:01 pm (UTC)no subject
Date: 2004-08-27 07:48 pm (UTC)no subject
Date: 2004-08-27 07:50 pm (UTC)no subject
Date: 2004-08-28 07:01 am (UTC)On my home machine, eth0 was my wired segment, eth1 the wireless segment and eth2 the internet. That just happened due to PCI card numbering order; eth2 was an older 10baseT card (DSL at 1.5Mbit/s meant that didn't matter!).