Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 1999 14:47:43 -0500
From:      "Kevin Weiss" <kweiss@austin.rr.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   natd and dhcp
Message-ID:  <NDBBJGMIALOKHDMIBICBIEFBCAAA.kweiss@austin.rr.com>

next in thread | raw e-mail | index | archive | help
I read the NATD Man Page and reread my "Complete FreeBSD"
book, and I just want to make sure that I am
configuring my FBSD system properly so that I can move
on to configuring DHCP.

#ps -ax | grep natd
  4661 ?? Ss 0:06:55
natd -log -deny_incoming -use_sockets -unregistered_only -dynamic -interface
pn0

"pn0" is my external interface and "pn1" is the
internal interface


My rc.conf looks like this for networking:
  <snip>
  network_interfaces="pn0 pn1 lo0"
  ifconfig_pn0="inet 10.1.2.1 netmask 255.255.255.0"
  ifconfig_pn1="inet 10.1.2.1 netmask 255.255.255.0"
  ifconfig_lo0="inet 127.0.0.1"
  <snip>
  gateway_enable="yes"
  defaultrouter="10.1.2.1"
  static_routes=""
  <snip>
  hostname="gw.mydomain.com"
  tcp_extensions="yes"
  firewall="simple"
  natd_flags=""
  natd_interface="pn0"
  natd_flags=""


Should I make pn0 have IP address  10.1.2.0 and make
pn1 10.1.2.1 for my internal network?

If there's any other file info I should include from
this (or any other) file(s), please let me know.

Kevin Weiss
kweiss@austin.rr.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBJGMIALOKHDMIBICBIEFBCAAA.kweiss>