Date: Sun, 5 Aug 2001 22:50:46 -0800 From: Beech Rintoul <akbeech@anchoragerescue.org> To: freebsd-questions@freebsd.org Subject: Re: another ip as alias on NIC doesn't work properly Message-ID: <01080522504601.08027@galaxy.anchoragerescue.org> In-Reply-To: <002e01c11e31$7a0eddf0$0100a8c0@alexus> References: <002e01c11e31$7a0eddf0$0100a8c0@alexus>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 05 August 2001 08:37 pm, alexus wrote: > Hello > > i was able to bind second ip to my NIC, it seems binding just fine > > alexus@~# ifconfig fxp0 > fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 > inet 66.92.98.145 netmask 0xffffff00 broadcast 66.92.98.255 > inet 66.92.98.151 netmask 0xff000000 broadcast 66.255.255.255 > ether 00:60:94:a5:cb:44 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > alexus@~# > > for some reason when i'm trying to irc using my second ip, it rolls over to > first > > here is my routing table > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 66.92.98.1 UGSc 59 380 fxp0 > 10/24 link#2 UC 0 0 dc0 => > 66.92.98/24 link#1 UC 6 0 fxp0 => > 66.92.98.1 0:10:67:0:8d:68 UHLW 60 0 fxp0 1021 > 66.92.98.145 0:60:94:a5:cb:44 UHLW 1 103 lo0 > 66.92.98.146 0:30:48:21:78:8f UHLW 0 2 fxp0 1022 > 66.92.98.147 0:30:48:21:7a:7 UHLW 0 4 fxp0 1170 > 66.92.98.148 0:30:48:21:78:a6 UHLW 0 2 fxp0 1022 > 66.92.98.149 0:30:48:21:3c:c9 UHLW 0 2 fxp0 1194 > 66.92.98.151/32 link#1 UC 0 0 fxp0 => > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 192.168 link#2 UC 1 0 dc0 => > 192.168.0.6 0:d0:b7:9e:f:d3 UHLW 1 251 dc0 1185 > alexus@~# > > 192.168.0.0 is my local > > dc0 is my local interface > > where 66.92.98.146-149 where all those ip came from? i have no idea... > .1 is my gateway All alias IP's need to have a netmask of /32 or 255.255.255.255 Beech ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- 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?01080522504601.08027>