Date: Tue, 2 May 2000 00:49:44 -0700 (PDT) From: Fabio Miranda <fmirand@yahoo.com> To: freebsd-net@FreeBSD.org Subject: Re: Routing questions over leased lines Message-ID: <20000502074944.7417.qmail@web110.yahoomail.com>
next in thread | raw e-mail | index | archive | help
Hello, i have sent the msg below and i havent solve the problem: > Hi, This is my situation: > > note: I will use the network 209.88.252 for all the > examples, so,for example, if i refer to a host or > router 110, it's 209.88.252.110. > > I'm creating a company that work on web > design/hosting. > also, we are going to make a small "cafe internet", > we > "rent" hours in internet so ppl can surf, etc. using > the same connection of the hosting. > > My hosts, network, etc: > The lan consist on 4 client, windows 98, they have > design software and others utils for web design and > rent for web users. > The server is a dual pentium II-400 with 128 mb of > ram > using FreeBSD-3.4, it will connect the lan to the > wan > of my isp and to the internet. > The network connection consist of a et5025-16 > (etinc.com) card that is connected to a dsu/csu > (newbridge.com 2601) and from it to a cisco 2509 > (other-end, the isp). > > The newtwork topology: > I'm connecting to a leased line so, the "basic" > diagrama of the connection is: > 105(router, isp) <--> 106(freebsd) > network: 104 > this can be done by: > ifconfig eth0 inet 106 104 broadcast 105 netmask 248 > (255.xxxx) > Ok, but, the network assigned to me, it's the 112, > so, > the "right" connec would be like: > (freebsd host) 106 <--> 112 (another host, in my > office!) > but, this cant be done, i mean, I want to use the > same > server that belongs to the 104 network. > This would be the "correct" diagrama: > 105(ISP) <--> 106 (my router) <-> 113 (my server) > ******104 NETWORK*****-*****112 NETWORK********** > so, I want to the freebsd to be "multi-homed" over > the > same line. > I dont really want that my local hosts (the 3 > win98/linux) to have real ip address, i'll do natd, > really, i just want that the freebsd server uses the > ips assigned. > > petition: > please, dont make me question about this network > topology, I'm not the one who created it!, it's isp > "privacy" politics; give me a hand for configure > this > network. > right now, the ifconfig output looks like: > $ ifconfig eth0 > eth0: flags=51<UP,POINTOPOINT,RUNNING> mtu 1500 > inet 209.88.252.106 --> 209.88.252.105 > netmask > 0xfffffff8 > I can telnet without problems to the other-end > router, > but i want to have internet access, if i try it now, > i > cant access, the isp told me, "you need to use the > network address that we gave you", that's the > problem, > how can i make freebsd to belongs to 112 if the > interface is configurated for 104? > better, How can freebsd be "multi-homed" over the > same > interface? > > thanks alot! i tried this: nietzsche# ifconfig eth0 209.88.252.106 209.88.252.104 broadcast 209.88.252.105 netmask 255.255.255.248 nietzsche# telnet 209.88.252.105 Trying 209.88.252.105... Connected to 209.88.252.105. Escape character is '^]'. I can connect to the other point, the route at the isp. now, i try to set up my network (209.88.252.112) and using the first ip: 209.88.252.112: nietzsche# ifconfig eth0 alias 209.88.252.113 netmask 255.255.255.248 ifconfig: ioctl (SIOCAIFADDR): Destination address required nietzsche# ifconfig eth0 alias 209.88.252.113 209.88.252.105 netmask 255.255.255 .248 ifconfig: ioctl (SIOCAIFADDR): File exists nietzsche# echo "nameserver 209.88.252.105" >> /etc/resolv.conf nietzsche# route add -net 209.88.252.113 209.88.252.105 add net 209.88.252.113: gateway 209.88.252.105 nietzsche# ftp ftp.cdrom.com ...and i cant connect. What can i do?, what's wrong with this configuration?. thanks again! __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000502074944.7417.qmail>