Re: Can't set up a NIC and NAT

From: Alan Hicks (alan_at_lizella.netWORK)
Date: 07/30/04


Date: 29 Jul 2004 17:43:29 -0500


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In comp.unix.bsd.freebsd.misc, The Yeti dared to utter,
> ifconfig_sk0="inet 192.168.0.1 netmask 255.255.255.0"
> ifconfig_rl0="inet 192.168.0.2 netmask 255.255.255.0"
>
> If you could tell me what's wrong, I would greatly appreciate it.

You're setting up two NICs on the same subnet. generally speaking this
is a no-no. If you set them up on different subnets (like say
192.168.1.0/24 and 192.168.2.0/24) things might would work better. Set
your NICs on different subnets. Flush your routing table. Add a
defaultrouter entry to /etc/rc.conf and try again.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBCX6/lKR45I6cfKARAmo5AJ9hDQC0Wt7DMFEQCLzDglFxWvwAewCgi/Nb
DbBEgPbthzbeWeca2FJqZq4=
=QQx3
-----END PGP SIGNATURE-----



Relevant Pages

  • Re: W2K3 Server with 2 NICs
    ... and so it is in th same subnet as Intranet nic. ... connecting it from other subnets. ... gateway address in Intranet nic but it didn't work and server warned about ...
    (microsoft.public.windows.server.networking)
  • Re: Default Gateway Setting not set after Reboot
    ... The fact remains that the server is connected to two subnets. ... gateways is not set for one of the subnets on one of the NICs. ... >> am convinced as per my situation above, if I remove the default gateway ... > D. All other possible routes are handled by using Static Routes in the ...
    (microsoft.public.win2000.networking)
  • Re: NLB IIS
    ... important to have them in separate subnets. ... I setup NLB with 2 servers and 2 NICS on each server. ... Default Gateway 10.217.216.1 ...
    (microsoft.public.windows.server.clustering)
  • Re: Intermittent outages on two subnets on 2003 server
    ... We have websites running on each of the subnets and obviously the ... I'm not sure if it is because of the way you've configured the server (multiple NICs with multiple gateways), ... If I may suggest, you said you may have to wait for the new firewall to come in, in order to be able to route between the subnets that you currently can't. ...
    (microsoft.public.windows.server.general)
  • Re: Windows 2003 Server Standard Domain Controller multiple NICs
    ... network that clients reside on with the DC on that network. ... They don't join subnets. ... Is it just because it has 2 NICs? ... So long as you configure your routing infrastructure so clients can get ...
    (microsoft.public.windows.server.active_directory)