Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
  Ted Leung on the air: Open Source, Java, Python, and ...
   Thu, 01 Apr 2004   
  
  
  
    nameif is mostly your friend.
    
   
    
     Thanks to the folks who wrote and recommended 
    [22:15] |
    [computers/operating_systems/linux/debian] |
    # | 
    TB |
    F |
    G |
    0 Comments |
    nameif as the solution for my kernel 2.6 interface swapping woes.   It turns out that nameif isn't able to swap interfaces easily.  In order to make it work you need to give your eth1 a bogus name, swap that interfaces MAC to eth0 and the swap the other MAC to eth1.  Thanks (as usual) to Google and the debian-users list  for the fix.  Note that you cannot do this from an /etc/mactab, so you need to change /etc/init.d/networking (on Debian) and include the calls to nameif directly.  You have to modify /etc/init.d/networking anyway because it doesn't check for an /etc/mactab and try to run nameif, and that's probably just as well.
At least I'm happily running 2.6 now.
    
   
You can subscribe to an RSS feed of the comments for this blog: 
  Add a comment here:
 You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
   
   
   
   
  Add a comment here:
 You can use some HTML tags in the comment text:To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
 <a href>, <em>, <i>, <b>, <blockquote>, <br/>, <p>, <code>, <pre>, <cite>, <sub> and <sup>.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
  




