router/gateway help needed

router/gateway help needed

Post by TribeGuy1 » Sun, 21 May 2000 04:00:00



Hi,
        I'm a system administrator of an ISP and have a network
consisting of various Window (98,NT) and BSDI Unix (running primary
DNS dns.ispnet.com 205.200.200.2) machines all connected to a 10baseT
hub.  Attached to this hub is a Cisco router (205.200.200.1) to
connect the network to the Internet.
        Recently, a customer brought his own FreeBSD4.0 server to join
our network (co-location service).  He also has his own class C
address (ex. 204.100.100.xxx) and has set up his server to IP address
204.100.100.2 (server.domain.com)  The server boots up fine and we can
ping its IP address and name successfully from the server itself but
that's it.  Ping responds with "ping: sendto: No route to host"
whenever we try to ping an address outside his class C address and
therefore his server can't see our router on the network (different
class C address)
        I've setup defaultrouter="205.200.200.1" in rc.conf but the
error "Network unreachable" is displayed on boot up of server.  I've
also added our name servers to his /etc/hosts file but that didn't
help.
        Can someone please tell me what I have to do in order to get
this FreeBSD4.0 server to be able to forward packets destined for the
Internet to our router on our class C.

Thanks for your help,
Shane

 
 
 

router/gateway help needed

Post by David Malo » Sun, 21 May 2000 04:00:00



>    Can someone please tell me what I have to do in order to get
>this FreeBSD4.0 server to be able to forward packets destined for the
>Internet to our router on our class C.

The FreeBSD machine needs an IP address on the same network as the
router, otherwise it has no way to know what interfact to try to
use.  You could give the interface correct interface a second IP
address on your network - look for the bit about "alias" in
/etc/defaults/rc.conf

        David.

 
 
 

router/gateway help needed

Post by r j huntingt » Sun, 21 May 2000 04:00:00


:       I'm a system administrator of an ISP and have a network
: consisting of various Window (98,NT) and BSDI Unix (running primary
: DNS dns.ispnet.com 205.200.200.2) machines all connected to a 10baseT
: hub.  Attached to this hub is a Cisco router (205.200.200.1) to
: connect the network to the Internet.
:       Recently, a customer brought his own FreeBSD4.0 server to join
: our network (co-location service).  He also has his own class C
: address (ex. 204.100.100.xxx) and has set up his server to IP address
: 204.100.100.2 (server.domain.com)  The server boots up fine and we can
: ping its IP address and name successfully from the server itself but
: that's it.  Ping responds with "ping: sendto: No route to host"
: whenever we try to ping an address outside his class C address and
: therefore his server can't see our router on the network (different
: class C address)

It is highly unlikely that your customer's class C addresses are portable.
They are assigned to the County of Riverside (California) and there is
probably no way to route any portion of the allocation to Canada.

In other words, it won't work. You'll need to assign addresses from your
own netblock.

 
 
 

router/gateway help needed

Post by Raymond Doetje » Thu, 25 May 2000 04:00:00


I'm sorry to have to say this: "Damn for an ISP you are *ing STUPID"

You see that both are on a different network and you never even thought
about advertising the routes!!! When he bought his IP addresses directly
from IANA then the ISP (YOU IN THIS CASE) is responsible for setting up
the routing for that network!!! If he has bought his subnet from an
ISP the routing has already been setup and requests will flow to that
ISP.

I can't beleive that an ISP doesn't even have any knowledge of routing
I'm sorry to say it this blund but perhaps you should go on a IP training
and also do a Cisco training.

Raymond


> Hi,
>         I'm a system administrator of an ISP and have a network
> consisting of various Window (98,NT) and BSDI Unix (running primary
> DNS dns.ispnet.com 205.200.200.2) machines all connected to a 10baseT
> hub.  Attached to this hub is a Cisco router (205.200.200.1) to
> connect the network to the Internet.
>         Recently, a customer brought his own FreeBSD4.0 server to join
> our network (co-location service).  He also has his own class C
> address (ex. 204.100.100.xxx) and has set up his server to IP address
> 204.100.100.2 (server.domain.com)  The server boots up fine and we can
> ping its IP address and name successfully from the server itself but
> that's it.  Ping responds with "ping: sendto: No route to host"
> whenever we try to ping an address outside his class C address and
> therefore his server can't see our router on the network (different
> class C address)
>         I've setup defaultrouter="205.200.200.1" in rc.conf but the
> error "Network unreachable" is displayed on boot up of server.  I've
> also added our name servers to his /etc/hosts file but that didn't
> help.
>         Can someone please tell me what I have to do in order to get
> this FreeBSD4.0 server to be able to forward packets destined for the
> Internet to our router on our class C.

> Thanks for your help,
> Shane


 
 
 

router/gateway help needed

Post by TribeGuy1 » Sat, 27 May 2000 04:00:00


Thanks David.  That's all it took to get the packets flowing out onto
the Internet.

Shane




>>        Can someone please tell me what I have to do in order to get
>>this FreeBSD4.0 server to be able to forward packets destined for the
>>Internet to our router on our class C.

>The FreeBSD machine needs an IP address on the same network as the
>router, otherwise it has no way to know what interfact to try to
>use.  You could give the interface correct interface a second IP
>address on your network - look for the bit about "alias" in
>/etc/defaults/rc.conf

>    David.

 
 
 

1. Gateway/Router Help needed...

Hey ya'll. Got something I fear may be a custom or slightly unique
situation, and not knwing all the *ahem* proper terms, am unsure where
to start. So! If anyone can point me in a direction to look, to learn
from, it'd be appreciated.

Here's the deal:
Have two LANs. 192.168.2.x (LAN2) and 10.0.0.x (LAN1). LAN2 is a QA
Testing Lab. All systems on LAN2 are given IP's by a server DHCP (LAN2
Server). This LAN2 Servier is running Linux (currently Fedora 5, but
could change.. Even to Windows. Whatever makes it easier.) which is
running the DHCP server. Now, this LAN2 Server is ALSO connected to
LAN1 and is *GIVEN* an IP address by LAN1's server/router/gateway.

So, on a normal day, I want LAN2 Server to be able to access any
network shares/resources on LAN1, including the Internet. I would like
any system on LAN2 to be able to access the shares on the LAN2 Server,
but *NOT* get bridged over to LAN1.

At any specific time, I'd like to ENABLE a system on LAN2 to be allowed
to access LAN1 and the Internet (for updates, etc.) If this means
running a script on the LAN2 server, the that's fine - and expected. I
want the OTHER systems on LAN2 to still NOT have access to LAN1. In
other words, I only want to allow access to the system I designate at
the time. (However, at times I may enable TWO systems at once. Or
three, and so on.)

So, where do I start? I'm going to assume I'll need to modify the
iptables/ebtables(?), unless there's something out there that will
allow this?

Pointers, questions, comments more than welcome.
Thanks!
Mike.

2. EXTENSA 555 and linux

3. need howto get dynamic IP off wireless gateway/router

4. I love Linux not Yggdrasil Fall'94

5. Gateway/Router/bridge which do I need?

6. Fastest motherboard using standard Linux distro?

7. Help Configuring a Cisco Router as Gateway

8. ET4000 Xconfig

9. Gateway/Firewall/Router Help!

10. help in setting up a router/gateway

11. Help w/ dual gateway linux router

12. Gateway Router help

13. HELP - using Linux box as Router/Gateway.