Date: Thu, 11 Apr 2002 08:01:36 +0200 From: johann@broadpark.no To: questions@freebsd.org Subject: Network structure and setup Message-ID: <1018504896.3cb526c0dd69e@mail.broadpark.no>
next in thread | raw e-mail | index | archive | help
Hello! Right now I'm sitting here on my workstation connected to my ADSL-modem trying to figure out how to make my gateway route things for me. I haven't yet found detailed enough documentation on how to set up this type of network. The handbook doesn't seem to help me much. I assume changes are made in rc.conf and rc.conf alone with gateway_enable="YES" and by running ifconfig on all NICs and desires IPs. I picture the network layout to be pretty basic; WORKSTATION (rl0) === GATEWAY (lnc0/ep0) === ADSL-MODEM 10.0.0.3 ============== 10.0.0.2 ============== 10.0.0.1 However when it comes to setting it up, --Workstation's rc.conf: ifconfig_rl0="10.0.0.3 netmask 255.255.255.0" --Gateway's rc.conf: defaultrouter="10.0.0.1" (ADSL-modem, Cisco 677i-DIR) ifconfig_lnc0="10.0.0.2 netmask 255.255.255.0" ifconfig_ep0="10.0.0.3 netmask 255.255.255.0" You can probably understand that I don't really comprehend networks. I'm also wondering how to use a different set of IPs. But how can my ADSL-modem modem be recognized when I suddenly change its IP in defaultrouter? And, I've also heard that I should not have multiple NICs on the same subnet. This is all so confusing :/ Regards, Johann 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?1018504896.3cb526c0dd69e>