Re: dhcp on one of 2 nics

From: Drew Tomlinson (drew_at_mykitchentable.net)
Date: 11/27/03

  • Next message: Vince Hoffman: "RE: migrating users"
    To: "Ken Vescovi" <vescovi@ctcnet.net>, "FreeBSD Questions" <freebsd-questions@freebsd.org>
    Date: Thu, 27 Nov 2003 06:49:22 -0800
    
    

    Redirected to -questions.

    ----- Original Message -----
    From: "Ken Vescovi" <vescovi@ctcnet.net>
    Sent: Wednesday, November 26, 2003 10:06 PM

    > I finally got cable modem access here in the backwoods of west-central
    > PA.
    >
    > I want to set up my Dell Latitude running 4.8 as a gateway doing PAT and
    > using ipfw.
    >
    > I have 2, 3c589c cards and need one to get an address from the cable
    > company via DHCP.
    >
    > The other nic will be configured as the gateway for my home net.
    >
    > Problem one:
    > Card 2 is recognized, but I get this message "No free Configuration for
    > card 3Com corp' and no device id is assigned.
    > It doesn't matter which slot the card is in, it seems to only recognize
    > the first and give it device id ep0.
    > I removed the 'default' setting from pcic1 in the kernel config as
    > follows:
    >
    > device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000
    > device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000
    >
    > But it's still not recognized. Any suggestions?

    I don't really know about this one but I don't any changes are needed in
    your kernel config. You must have the right driver compiled in as it
    recognizes one card. If the cards aren't plug-n-play, are you sure both
    cards are set up to use different interrupts and memory areas? Are both
    cards seen in your dmesg output?

    > Problem 2 is how do I configure one nic for dhcp and the other for
    > static. I can do the static config,
    > but how do I config the system to have static on card 1 and dhcp on card
    > 2?

    man rc.conf and man dhclient. You use rc.conf to specify settings for each
    NIC and dhclient will get setup info from a DHCP server.

    HTH,

    Drew

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Vince Hoffman: "RE: migrating users"

    Relevant Pages

    • Re: FC6 not connecting -- amplification
      ... I've started from the icon, new to me, that looks like a yellow star on a ... on which I'd've tried to tell it to get an IP from dhcp on the ... la /etc|grep .conf gets me umpteen bazillion config files, ... My logic is that it must have configured some type of card since you said that you could choose static or DHCP. ...
      (Fedora)
    • [RFC / git patch] Move pci_find_* under CONFIG_PCI_LEGACY
      ... converting ancient drivers to PCI hotplug API, ... config HISAX_TELESPCI ... bool "NETspider U card" ... +#ifdef CONFIG_PCI_LEGACY ...
      (Linux-Kernel)
    • dhcp on one of 2 nics
      ... I finally got cable modem access here in the backwoods of west-central ... The other nic will be configured as the gateway for my home net. ... card 3Com corp' and no device id is assigned. ... I removed the 'default' setting from pcic1 in the kernel config as ...
      (freebsd-net)
    • wireless networking
      ... After much effort I found a wireless PCMCIA card that is supported by ... sl0: flags=c010mtu 552 ... config> po pcic1 0x3e2 ... 0x40000000-0x43ffffff at device 0.0 on pci0 ...
      (freebsd-questions)
    • OTM 2.2 configuration issue?
      ... My node is running Succession 4.0 ... Media card and signalling server have been configured through element ... Initializing the Node Properties file transfer process for ... ... Unable to proceed with a manual config ...
      (comp.dcom.sys.nortel)