nixCraft Linux Forum

nixCraft

Linux / UNIX 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 ...

Register free or login to your existing account and remove all advertisements.


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

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-23-2005, 04: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
  #2 (permalink)  
Old 12-23-2005, 05:49 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 691
Thanks: 15
Thanked 18 Times in 17 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
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.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
Reply


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 Off


Similar Threads

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


All times are GMT +5.5. The time now is 02:11 AM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

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 37 38