Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Gated Setup.
@ 1996-06-14 19:40 Franco Tassone
  0 siblings, 0 replies; 3+ messages in thread
From: Franco Tassone @ 1996-06-14 19:40 UTC (permalink / raw)


HI

I've installed a second network adapter on my Alpha-300 and booted 'gated'
daemon trying to make work it as a bridge between two subnets (the first on the
built-in adapter and the second above that I've just installed).

I can reach any host from the Alpha, but no packets are exchanged by 'gated'
between the two subnets.

Is it possible to get 'gated' working as a bridge between two different
subnets, and how ?
Thanks for the help.

-- 
------------------------------------------------------------
 Franco Tassone                              RGNetWork IQSP
 Informatica e telematica              Tel: (+39) 085/64070
 e-mail:webmaster@rgn.it                 Via V. Colonna, 97
 http://www.rgn.it                    65127 Pescara (ITALY)
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gated Setup.
@ 1996-06-17 21:50 Rik Ling
  0 siblings, 0 replies; 3+ messages in thread
From: Rik Ling @ 1996-06-17 21:50 UTC (permalink / raw)


Franco Tassone wrote:
> 
> HI
> 
> I've installed a second network adapter on my Alpha-300 and booted 'gated'
> daemon trying to make work it as a bridge between two subnets (the first on the
> built-in adapter and the second above that I've just installed).
> 
> I can reach any host from the Alpha, but no packets are exchanged by 'gated'
> between the two subnets.
> 
> Is it possible to get 'gated' working as a bridge between two different
> subnets, and how ?
> Thanks for the help.

I'm just learning this stuff myself, but I don't think you need to run
gated to turn your machine into a network bridge.  All you have to do is
'ifconfig' the network interfaces correctly and then set up a couple of
routes by hand with /sbin/route.  Check out the Linux NAG for details.  

It's quite possible that I'm dead wrong, but I don't think you need
gated to set up a simple bridge.

Rik

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gated Setup.
       [not found] <rling@pathcom.com>
@ 1996-06-18  7:45 ` Dominique Avatravaux
  0 siblings, 0 replies; 3+ messages in thread
From: Dominique Avatravaux @ 1996-06-18  7:45 UTC (permalink / raw)


> > Is it possible to get 'gated' working as a bridge between two different
> > subnets, and how ?
> > Thanks for the help.

  It seems that you don't have IP forwarding configured into your kernel... You
will have to recompile it.

>
> I'm just learning this stuff myself, but I don't think you need to run
> gated to turn your machine into a network bridge.  All you have to do is
> 'ifconfig' the network interfaces correctly and then set up a couple of
> routes by hand with /sbin/route.  Check out the Linux NAG for details.

  After recompiling the kernel with IP forwarding enabled, here is what you
need in your rc.inet1 or equivalent :

ifconfig lo 127.0.0.1
route add -net 127.0.0.0

ifconfig eth0 $MYADDR_ON_ETH0 netmask $NETMASK_ON_ETH0 broadcast \
        $BROADCAST_ON_ETH0
route add -net ${NETWORK_ADDR_ETH0} netmask ${NETMASK_ON_ETH0}

ifconfig eth1 $MYADDR_ON_ETH1 netmask $NETMASK_ON_ETH1 broadcast \
        $BROADCAST_ON_ETH1
route add -net ${NETWORK_ADDR_ETH1} netmask ${NETMASK_ON_ETH1}

route add default gw ${GATEWAY} metric 1

  In short, just start with the classical Ethernet setup and duplicate the
commands involving your local network. Your gateway for the default route
(${GATEWAY}) remains unchanged; and your adresses on the two subnets must of
course be chosen in the good range.

  I don't think this thread belongs to that list, anyway...

>
> It's quite possible that I'm dead wrong, but I don't think you need
> gated to set up a simple bridge.
>
  True. Gated/routed are only useful when your routing scheme is more
complicated than the kernel built-in one -- which is not the case for a bridge.

-- 
							Dominique Quatravaux
						Dominique.Quatravaux@ens.fr

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-06-18  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-17 21:50 Gated Setup Rik Ling
     [not found] <rling@pathcom.com>
1996-06-18  7:45 ` Dominique Avatravaux
  -- strict thread matches above, loose matches on Subject: below --
1996-06-14 19:40 Franco Tassone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox