[GLLUG] ifconfig issue

Adam McDougall mcdouga9 at egr.msu.edu
Thu Aug 17 12:41:31 EDT 2006


ifconfig fxp0 alias 192.168.168.31 netmask 255.255.255.255

if you want to get rid of that alias,
ifconfig fxp0 delete 192.168.168.31

On Wed, Aug 16, 2006 at 12:16:15PM -0400, Caleb Cushing wrote:

  ifconfig fpx0:1 inet 192.168.168.31 netmask 255.255.255.255
  should also work... but only until reboot rc.conf or or wherever else your
  addresses are set is a more permanent solution.
  
  On 8/16/06, Jim Fick <jfick at mphi.org> wrote:
  
  
      I just read that you have to change the rc.conf file adding the alias, I
      did and it works.  Thank you.
  
       
  
       
  
       
  
      James A. Fick, Jr
  
      IT Systems & Security Manager
  
      2501 Jolly Road, Suite 180
  
      Okemos , MI 48864
  
      (517) 324-8304
  
      (517) 324-8370
  
      ---------------------------------------------------------------------------
     
      From: linux-user-bounces at egr.msu.edu [mailto:
      linux-user-bounces at egr.msu.edu] On Behalf Of Jim Fick
      Sent: Wednesday, August 16, 2006 11:50 AM
      To: linux-user at egr.msu.edu
      Subject: [GLLUG] ifconfig issue
  
       
  
      I'm trying to do IP aliasing on FreeBSD.  When I run the command "ifconfig
      fxp0 inet 192.168.168.31 netmask 255.255.255.255 alias", it changes my IP
      address.  I've seen posting on the web that said it should list both
      address when you run "ifconfig  a", mine does not and the server stops
      responding to the first address.
  
       
  
      Do I have the command wrong or am I smoking crack?
  
       
  
       
  
       
  
      James A. Fick, Jr
  
      IT Systems & Security Manager
  
      2501 Jolly Road, Suite 180
  
      Okemos, MI 48864
  
      (517) 324-8304
  
      (517) 324-8370
  
       
  
  
      _______________________________________________
      linux-user mailing list
      linux-user at egr.msu.edu
      http://mailman.egr.msu.edu/mailman/listinfo/linux-user
  
  
  
  

  _______________________________________________
  linux-user mailing list
  linux-user at egr.msu.edu
  http://mailman.egr.msu.edu/mailman/listinfo/linux-user



More information about the linux-user mailing list