Date: Fri, 05 Nov 2004 03:11:57 -0500 From: "GRF ." <nuckingfutsto@hotmail.com> To: freebsd-questions@FreeBSD.ORG Subject: Adding IP's ifconfig problems Message-ID: <BAY16-F19ca0ZkfzDsk00030b81@hotmail.com>
next in thread | raw e-mail | index | archive | help
I have a 5.2.1 server which I need to add IP's to. When the provider assigned me the IP's they also said use the netmask 255.255.255.240. I added the IP's to my rc.conf as you can see below but they do not show up in my ifconfig. MY rc.conf: # -- sysinstall generated deltas -- # Wed Nov 3 09:22:52 2004 # Created: Wed Nov 3 09:22:52 2004 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="208.53.17X.1" hostname="warped.xconch.net" ifconfig_fxp0="inet 208.53.17X.8 netmask 255.255.255.0" linux_enable="YES" sshd_enable="YES" usbd_enable="YES" inetd_enable="YES" pureftpd_enable="YES" ifconfig_fxp0_alias0="inet 208.53.17X.2 netmask 255.255.255.240" ifconfig_fxp0_alias1="inet 208.53.17X.3 netmask 255.255.255.240" ifconfig_fxp0_alias2="inet 208.53.17X.4 netmask 255.255.255.240" ifconfig_fxp0_alias3="inet 208.53.17X.5 netmask 255.255.255.240" ifconfig_fxp0_alias4="inet 208.53.17X.6 netmask 255.255.255.240" ifconfig_fxp0_alias5="inet 208.53.17X.7 netmask 255.255.255.240" ifconfig_fxp0_alias6="inet 208.53.17X.8 netmask 255.255.255.240" ifconfig_fxp0_alias7="inet 208.53.17X.9 netmask 255.255.255.240" ifconfig_fxp0_alias8="inet 208.53.17X.10 netmask 255.255.255.240" ifconfig_fxp0_alias9="inet 208.53.17X.11 netmask 255.255.255.240" ifconfig_fxp0_alias10="inet 208.53.17X.12 netmask 255.255.255.240" ifconfig_fxp0_alias11="inet 208.53.17X.13 netmask 255.255.255.240" ifconfig_fxp0_alias12="inet 208.53.17X.14 netmask 255.255.255.240" Here is my ifconfig: [7:58](freebie@warped)[/etc]> ifconfig fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 208.53.17X.8 netmask 0xffffff00 broadcast 208.53.17X.255 inet6 fe80::220:edff:fe27:63aa%fxp0 prefixlen 64 scopeid 0x1 inet 208.53.17X.2 netmask 0xfffffff0 broadcast 208.53.17X.15 ether 00:20:ed:27:63:aa media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 Only the first IP 208.53.17X.2 showed up in the ifconfig. That tells me there is something wrong with the following line but I can not find anything wrong with the line. If I try and ping the next IP from the box locally I get the following: [7:58](freebie@warped)[/etc]> ping 208.53.17X.3 PING 208.53.17X.3 (208.53.17X.3): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C Why don't my IP's show up in ifconfig?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY16-F19ca0ZkfzDsk00030b81>