A routing/IP/NIC query < Expert required

From: Keith Spencer (bsd2000au_at_yahoo.com.au)
Date: 06/29/03

  • Next message: Han Hwei Woo: "Re: A routing/IP/NIC query < Expert required"
    Date: Sun, 29 Jun 2003 08:25:40 +1000 (EST)
    To: freebsd-questions@freebsd.org
    
    

    Hi all,
    I have a new adsl isp allocating my fbsd 4.7 box a
    routable IP (end user ip)
    I have 32 (read that as 30) ips of my own to use and
    route for my domain.
    I have 2 NICs in the gateway/router
    How should I setup the IPs and aliases etc. I
    figure...
    (yyy.yyy.yyy.yyy = ISP end user ip they gave me)
    (xxx.xxx.xxx.xx1 = 1st usable ip in my 32 ip range)
    (xxx.xxx.xxx.xx2 = 2nd usable ip in my 32 ip range)

             GATEWAY MACHINE

                ADSL MODEM
                   |
         |---------|--------|
         | yyy.yyy.yyy.yyy |
         | xxx.xxx.xxx.xx1 |
         | | |
         | fxp0 NIC |
         | |
         | |
         | dc0 NIC |
         | | |
         | 10.0.0.1 |
         | |
         |__________________|

    Or do I also need an xxx.xxx.xxx.xx3 alias on the dc0
     because I have 2 ip live servers inside the firewall.
    I think I do! Am I right or am I right?
    I have ipfilter on this machine with ipnat setup tonat
    the 10.0.0.0 addresses.
    Also, I suppose I could setup ipnat to do mapping of
    xxx.xxx.xxx.xxn addresses into 10.0.0.n private
    address.
    what say you?
    Thanks
    Keith

          

    http://mobile.yahoo.com.au - Yahoo! Mobile
    - Check & compose your email via SMS on your Telstra or Vodafone mobile.
    _______________________________________________
    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: Han Hwei Woo: "Re: A routing/IP/NIC query < Expert required"

    Relevant Pages

    • Re: 2 NICs different IPs in same network?
      ... My take on this is if you have two IPs with the same name, ... be a conflict with NetBIOS names ... enterprise) you need to disable NetBIOS, MS CLient Service and the F&P ... gives both NICs the same IP and they work in conjunction. ...
      (microsoft.public.win2000.networking)
    • Re: Switching Between Wireless Locations
      ... I have a laptop at the office and home. ... kits) if both networks use static IPs. ... How to setup multiple IPs on NIC How to setup two IPs on a computer ...
      (microsoft.public.windows.vista.networking_sharing)
    • Re: 2 ip numbers on 1 computer
      ... However a choice has to be made which one you are using, you cannot use one card with two IPs at the same time. ... Connecting one computer with two NICs to a single Broadband modem does not yield the results that the OP is looking for. ... If a NIC has multiple IP addresses assigned, what gets placed in the "source IP address" portion of the IP header of packets sent by that NIC? ... Lem MS MVP -- Networking ...
      (microsoft.public.windowsxp.network_web)
    • Re: Help! RAS and 2 NICs?
      ... have no effect on the outside connection because this IP ... Maybe I am not explaining this correctly, this setup has ... Even if I changed my IPs to private ranges ... >> Net Card ...
      (microsoft.public.backoffice.smallbiz2000)
    • Re: Static ips over dsl Firewall setup
      ... > with the setup I had before I just had a dsl bridge going to a switch then ... > all my pc's went to that switch and each was given a real ip. ... > PC on my network real ip's but to firewall them also. ... Best way if you want to use 'public' IPs and on a DMZ (without being NAT'd, ...
      (comp.security.firewalls)