Date: Mon, 8 May 2000 09:18:09 -0600 (MDT) From: Nick Rogness <nick@rapidnet.com> To: Mikel <mikel@ocsny.com> Cc: Fabio Miranda <fmirand@yahoo.com>, freebsd-questions@FreeBSD.ORG, FreeBSD-net@FreeBSD.ORG, FreeBSD-isp@FreeBSD.ORG Subject: Re: Request of help! Message-ID: <Pine.BSF.4.05.10005080850040.52546-100000@rapidnet.com> In-Reply-To: <3916B6A4.7F5A3728@ocsny.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 May 2000, Mikel wrote: > > Fabio Miranda wrote: > > > Hi, i've been trying to set up my network and it has > > been imposible. I have sent many emails and noone has > > pointed me in the right way. Please, can anyone help > > me? > > Problem: > > I'm connecting a network to a leased line from my > > local company. I have a sever that uses a isa > > card(et5025-16 etinc.com) to connect to a dce > > (dsu/csu) and from it to the isp. > > The isp router is 209.88.252.105 and my IP is > > 209.88.252.106(the point to point link), and we > > belongs to 209.88.252.114 subnet. > > Also, the ISP gave me a subnet: 209.88.252.104/29 and > > i want the same server to have 209.88.252.113 and > > 209.88.252.114 to 118 are my local machines. > > the diagrama: 209.88.252.104/29 is not an even subnet. Verify with your ISP. read below. Probably 209.88.252.104/30. Either that or you are stating it wrong. > > ISProuter > > (209.88.252.105) > > - > > - > > - > > - > > eth0(209.88.252.106) > > FreeBSD > > fxp0(209.88.252.113)----->209.88.252.114to118 > > machines. I can't understand what you are trying to say. SO I am following your diagram completely. Give netblocks adn a little more detail. > > > > I want the freebsd machine to route from > > 209.88.252.106 interface to 209.88.252.114 and > > viceversa, a multihomed server. > > This happens automatically if ip_forwarding is on: GATEWAY_ENABLE="YES" > > Friends, i have really tried many things and the > > answered of my pasts email are kinda confused. > > Can anyone tell me something clear? i want to belongs > > to FreeBSD comunity! but, docs and all are hard. > > I think you and your ISP are confused on the subnetting end. You should verify your settings. THis is really not that hard. > > this is what i have done: > > > > ifconfig eth0 209.88.252.106 209.88.252.106 netmask > > 255.255.255.248 > > ifconfig fxp0 209.88.252.113 netmask 255.255.255.248 OK. > > route add -net 209.88.252.104/29 209.88.252.105 > > -interface 209.88.252.106 Shouldn't need this statement .104/29 is directly connected interface. > > route add -net 209.88.252.112/29 209.88.252.113 > > -interface 209.88.252.113 This satement is wrong. 209.88.252.112 is not a network boundary for a /29 CIDR. Your networks are .0/29 and .8/29. WHat are you trying to do here? 209.88.252.112/29 contains: 209.88.252.108 --> 209.88.252.115 > > route add -net 0.0.0.0 209.88.252.113 Why is your default route going to .113? SHouldn't it be 209.88.252.105, the ISP? > > > > 1. What else do i need to make freebsd a router > > between the subnet .104 and .112 and make it use the > > .113? (pls, write the commands) Look at your /etc/rc.conf file. You should see a couple of lines: GATEWAY_ENABLE="YES" > > 2. Do i need another software? like gated or routed or > > natd? Not neccessary unless you want to exchange routes between machines. Your setup is very simple. Static routes should not be neccessary (Except your default gateway) and as long asip forwarding is on (GATEWAY_ENABLE) it should work. Also, the ISP should be holding the static routes for the following net, within their routers, or you will have to run a Dynamic Routing package like gated, Eitherway, make sure the ISP can get to your .112/29 network: route add -net 209.88.252.112/29 209.88.252.6/32 Nick Rogness - Speak softly and carry a Gigabit switch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10005080850040.52546-100000>