No, I do realize that it needs two seperate IP's. Just as a side note, I have
a working desktop acting as firewall already so unless I mistyped a rule or
setting somewhere, I don't think it's User error What seems to be happening
is the PC card detection is messing up the config of the NICS. I thought I
had it figured out by appending the dev name to the pccard_ifconfig line in
RC.conf. It does show two seperate IP's. but I can't talk to the network that
is associated with the NIC that is in slot 1.
LAst nite, I reconfigured to have EP0 be the outside and SN1 be the
internal. Both will be configured with the correct IP. I can ping out but I
can't ping internal, nor get out from anothe box. Error is either NOTHING or
"host is down" I used the default "Open" firewall rules and I do have "default
to accept in kernel".
As for the PCCARD detection, I followed the advice that someoen else said
and put the pccard.conf in etc. Still the same. I also tried a 589c, a 589d, a
556, and a 574 in slot one and all give the same error " no match in database"
BUT they are recognized in slot 0. The Megahertz IS recognized in slot 1.
> While I can't help you with the card detection issue, I can address
> your networking problem. You can't have two NICs with the same IP
> address and expect to route through them. Which NIC can actually
> talk to the default router? The routing engine doesn't know, and
> you'd have a hard time telling it. You need two seperate physical
> networks to route through the box.
> > I am trying to run IPFW/NATD on a laptop with 2 nics. 1 NIC is a
> > Megahertz 10bt XJACK (sn1) and the other is a 3com ccem556 10/100
> > (EP0). I'm
> > having a couple of problems. SN1 is to be outside and the 3com for
> > inside.
> > Static IP's for both
> > Both cards will have the same IP address. I looked at rc.conf and at
> > beginning they are being configured ifconfig_epo (IP,netmask)., and
> > ifconfig_sn1 (ip,netmask).... A few lines down there is another two
> > listings of pccard_ifconfig (ip,netmask)...... When doing an ifconfig
> > -a it would show BOTH as having the same IP address. I appended the
> > pccard_ifconfig with "_ep0" and "_sn1" (now reads pccard_ifconfig_ep0)
> > and it seems to be holding the correct IP for each but the default
> > router is not being configured. I can add the "route add default "DSL
> > box IP" and a netstat -rn will now show the default route but I can't
> > ping the DSL box or anything outside "error, host is down"
> > However, if I switch the cards and put SN1 in pccard 0, I have no
> > problems getting out BUT the (EP0) card does not get recognized. I get
> > an error message saying that the database does not have an entry for the
> > card (null) (null). I get the same errors with my 574BT card.
> > Any ideas? ANy help would be appreciated :)
> > Thanks
> > Gary