Hi Steven,<br><br>Unfortunately it's been long enough since I worked with FreeBSD that I couldn't give you a precise answer, but in many recent Linux distributions, it is possible to specify the MAC address of the physical interface you are referring to within the configuration of each logical interface, eg. set the MAC affinity of eth0 to 01:23:45.... in this case, if some kernel or hardware change forces interface renumbering or reordering you can be sure they won't change.<br>
<br>Might be worth researching whether the FreeBSD interface configuration (in /etc/rc.conf) supports anything like this.<br><br><br>Nathan<br><br><div class="gmail_quote">On Mon, Jan 18, 2010 at 11:41 AM, <span dir="ltr"><<a href="mailto:firewall-admin@hartfordgroup.com.au">firewall-admin@hartfordgroup.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
We are in the process of upgrading our firewalls to Sidewinder V7, and<br>
after the initial upgrade we have found that the interfaces have swapped<br>
around physically. On 'Firewall1', the physical location of the interface<br>
was retained, however, the label of the interface was changed. On<br>
'Firewall2', the configuration was kept consistent with the interface<br>
label, however, the physical location of the interface was changed to a<br>
different NIC and port.<br>
<br>
Below is a representation of what has happened, showing before the<br>
upgrade, and after:<br>
<br>
Firewall1<br>
<br>
OUT INS<br>
V6 em0 em1 em2 em3 em7 em6 em5 em4<br>
-----------------------------------<br>
[ ] [ ] [ ] [ ] | [ ] [ ] [ ] [ ]<br>
-----------------------------------<br>
V7 em4 em5 em6 em7 em3 em2 em1 em0<br>
OUT INS<br>
<br>
<br>
Firewall2<br>
<br>
OUT INS<br>
V6 em0 em1 em2 em3 em7 em6 em5 em4<br>
-----------------------------------<br>
[ ] [ ] [ ] [ ] | [ ] [ ] [ ] [ ]<br>
-----------------------------------<br>
V7 em4 em5 em6 em7 em3 em2 em1 em0<br>
INS OUT<br>
<br>
OUT being outside interface, and INS being inside interface.<br>
<br>
As you can see, consistency was maintained between both firewalls with<br>
version 6, however, unfortunately this consistency was lost during the<br>
upgrade and we are struggling to restore it. As part of our policy and<br>
procedures, it is imperitive that we maintain consistency across the board,<br>
eg named the lowest interface (for instance, outside on em0 - with em4<br>
being unacceptable). We attempted to use the 'cf interface swap' command<br>
using macaddr to limited success, whilst the actual interface configuration<br>
swaps, the interface label does not.<br>
<br>
I lodged a job with Secure Computing/Mcafee about this, and as suspected<br>
it is due to a change in the underlying OS between 6.1.2 and 7.0.1 (change<br>
from BSDi to FreeBSD). They suggested that moving the interfaces,<br>
physically (eg, putting it back to the V6 configuration, em0 being on the<br>
left NIC, left port) is impossible, but we can do a feature modification<br>
request to the developers there, no idea how long that would take.<br>
<br>
Does anyone know how I can avoid this happening in the future, or provide<br>
a work around solution?<br>
<br>
Any assistance greatly appreciated.<br>
<br>
Steven<br>
<br>
_______________________________________________<br>
AusNOG mailing list<br>
<a href="mailto:AusNOG@lists.ausnog.net">AusNOG@lists.ausnog.net</a><br>
<a href="http://lists.ausnog.net/mailman/listinfo/ausnog" target="_blank">http://lists.ausnog.net/mailman/listinfo/ausnog</a><br>
</blockquote></div><br>