Multiple IP's with DHCP?

2004-05-15 Thread GRF .
  I have Time Warner Road Runner Boradband service and I spoke to the 
technician and found that they allow 3 IP's to be pulled with basic service. 
 I would like to set up My FreeBSD 4.9 box with two of these IP's.  I have 
a switch connected to my cable modem which allows me to pull the multiple 
IP's.  I have two NIC's installed in my box and have let auto configure set 
them up for DHCP in /stand/sysinstall.  As you can see from ifconfig below 
xl0 is set up correctly but dc0 will not configure.  It should be noted that 
I did have this set up and working briefly but after a restart the settings 
were lost.  How do I set up two IP's with DHCP in FreeBSD 4.9?  Thank you.

[9:55]([EMAIL PROTECTED])[~] ifconfig
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=3rxcsum,txcsum
   inet6 fe80::201:3ff:fec2:9eba%xl0 prefixlen 64 scopeid 0x1
   inet 66.65.213.30 netmask 0xf800 broadcast 255.255.255.255
   ether 00:01:03:c2:9e:ba
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::250:bfff:fe9f:57f4%dc0 prefixlen 64 scopeid 0x2
   ether 00:50:bf:9f:57:f4
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
   inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
My RC.CONF
# Enable network daemons for user convenience.
# Created: Fri May 14 22:21:40 2004
# -- sysinstall generated deltas -- # Fri May 14 22:21:40 2004
ifconfig_xl0=DHCP
hostname=thugged.net
# This file now contains just the overrides from /etc/defaults/rc.conf.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# Enable network daemons for user convenience.
# Created: Fri May 14 22:22:45 2004
# -- sysinstall generated deltas -- # Fri May 14 22:22:45 2004
ifconfig_dc0=DHCP
hostname=thugged.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple IP's with DHCP?

2004-05-15 Thread Chuck Swiger
GRF . wrote:
  I have Time Warner Road Runner Boradband service and I spoke to the 
technician and found that they allow 3 IP's to be pulled with basic 
service.  I would like to set up My FreeBSD 4.9 box with two of these 
IP's.
Why do you want to do so?
What is probably happening is that you're being allocated a second IP on the 
same subnet, which isn't permitted because it isn't useful.  You might be able 
to convince dhclient to override the netmask for the second IP, in much the 
same fashion as ifconfig xxx alias works.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]