nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

freebsd ifconfig alias up ioctl siocaifaddr file exists erro

This is a discussion on freebsd ifconfig alias up ioctl siocaifaddr file exists erro within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; I'm getting error freebsd ifconfig alias up ioctl siocaifaddr file exists How do i solve this problem waiting for someone's ...


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-23-2005, 03:32 AM
ZigZag
Guest
 
Posts: n/a
Default freebsd ifconfig alias up ioctl siocaifaddr file exists erro

I'm getting error

Quote:
freebsd ifconfig alias up ioctl siocaifaddr file exists
How do i solve this problem

waiting for someone's help
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-23-2005, 04:49 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 557
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

This error comes when you try to setup 2 IP address for single (1) network card. All you need to do is use diffrent netmask to avoid this error. For example if your NIC card netmaks is 255.255.255.0 then use 255.255.255.255 as netmask for alias

Real lnc0 - IP : 192.168.1.2/255.255.255.0

lnc0 alias - IP : 192.168.1.115/255.255.255.255

And then type command
Code:
ifconfig lnc0 192.168.1.115 netmask 255.255.255.255 alias
Verify it with ifconfig command or ping command
Code:
ifconfig -a
ping 192.168.1.115
ping 192.168.1.2
sure replace lnc0 with your actual network interface card
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux how do I change IP address with ifconfig command chiku Linux software 1 12-07-2006 08:47 PM
script on how to check if the file exists warren Shell scripting 4 04-14-2006 05:51 PM
how do i assign an alias in rcconf with freebsd All about FreeBSD/OpenBSD/NetBSD 1 01-10-2006 06:21 PM
freebsd create alias ipaddres All about FreeBSD/OpenBSD/NetBSD 1 01-10-2006 06:13 PM
command to install tar file on freebsd hellBoy All about FreeBSD/OpenBSD/NetBSD 1 01-08-2006 12:02 AM


All times are GMT +5.5. The time now is 12:18 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36