Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 22:00:24 -0500 (CDT)
From:      "=?iso-8859-1?q?Jorge=20Mario=20G.?=" <murcielako@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Problems with IP aliasing
Message-ID:  <20020830030024.508.qmail@web13808.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
HI
I'm trying to create IP aliases of the ip 192.168.0.2
so i create the alias 192.168.10.1 with no problems
this way:

ifconfig xl0 inet 192.168.10.1 netmask 255.255.255.0
alias
[root@gator:/usr]# ifconfig
xl0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
1500
        inet 192.168.0.2 netmask 0xffffff00 broadcast
192.168.0.255
        inet 192.168.10.1 netmask 0xffffff00 broadcast
192.168.10.255
        ether 00:10:5a:07:da:30
        media: Ethernet autoselect (100baseTX
<full-duplex>)
        status: active


[root@gator:/usr/ports/mail/squirrelmail]# ping
192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
64 bytes from 192.168.10.1: icmp_seq=0 ttl=64
time=0.080 ms
64 bytes from 192.168.10.1: icmp_seq=1 ttl=64
time=0.044 ms
the alias is there and working

then i tried:
[root@gator:~]# ifconfig xl0 inet 192.168.10.2 netmask
255.255.255.0 alias
ifconfig: ioctl (SIOCAIFADDR): File exists
[root@gator:~]#

any ideas why???
thank 

=====


_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020830030024.508.qmail>