Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   configuration of subordinate interface in a bridge; was Linux hub (http://www.linux-archive.org/debian-user/428411-configuration-subordinate-interface-bridge-linux-hub.html)

09-17-2010 05:08 PM

configuration of subordinate interface in a bridge; was Linux hub
 
* From: "Jes&#xFA;s M. Navarro" <jesus.navarro@undominio.net>
* Date: Sun, 5 Sep 2010 23:47:48 +0200
> There's neither "carnot" nor "Allied Telesis 3612TR" in your provided diagram ...

For now I can't find the original to edit and scan.
If it doesn't turn up next week, I'll make a fresh diagram.

> * The ISP you connect dalton to has given you control of the public network
> 142.103.107.128/25 or at least has given you some IP addresses on that range,
> right?
> * dalton's eth0 is configured with the public IP 142.103.107.137/25, right?
> * carnot's eth0 is configured with the public IP 142.103.107.138/25, right?
> * You expect carnot's eth0 being connected to dalton's eth1 by means of a
> crossover cable, right?

Yes. Addresses 142.103.107.137/25, 142.103.107.138/25, and 142.103.107.139/25
are for my use. 142.103.107.139 isn't involved here of course.

> In dalton's /etc/network/interfaces something along the following lines should
> do the trick ...

http://wiki.debian.org/BridgeNetworkConnections is also helpful.

A detail I still wonder about is the configuration for eth1 on
dalton. Can it have an arbitrary static local address?

allow-hotplug eth1
iface eth1 inet static
address 172.24.2.1
netmask 255.255.255.0

"Arbitrary" meaning that 172.24.2.1 is any local address which
doesn't interfere with another interface in the LAN.

Logically speaking, this stanza really shouldn't be necessary,
given that the br0 stanza includes eth1 as one end of the bridge.
I suppose it must allow a simplification of the algorithm which
makes the bridge.

Thanks, ... Peter E.






--
Telephone 1 360 450 2132. 7785886232 is gone.
Shop pages http://carnot.yi.org/ accessible as long as the old
drives survive; installation of NetBSD on new drives pending.
Personal pages, http://members.shaw.ca/peasthope/ .


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 171056625.41492.30073.@cantor.invalid">http://lists.debian.org/171056625.41492.30073.@cantor.invalid

"Jesús M. Navarro" 09-18-2010 03:42 AM

configuration of subordinate interface in a bridge; was Linux hub
 
Hi:

On Friday 17 September 2010 19:08:20 peasthope@shaw.ca wrote:
> * From: "Jes&#xFA;s M. Navarro" <jesus.navarro@undominio.net>
> * Date: Sun, 5 Sep 2010 23:47:48 +0200
>
> > There's neither "carnot" nor "Allied Telesis 3612TR" in your provided
> > diagram ...
>
> For now I can't find the original to edit and scan.
> If it doesn't turn up next week, I'll make a fresh diagram.
>
> > * The ISP you connect dalton to has given you control of the public
> > network 142.103.107.128/25 or at least has given you some IP addresses on
> > that range, right?
> > * dalton's eth0 is configured with the public IP 142.103.107.137/25,
> > right? * carnot's eth0 is configured with the public IP
> > 142.103.107.138/25, right? * You expect carnot's eth0 being connected to
> > dalton's eth1 by means of a crossover cable, right?
>
> Yes. Addresses 142.103.107.137/25, 142.103.107.138/25, and
> 142.103.107.139/25 are for my use. 142.103.107.139 isn't involved here of
> course.

[...]

> A detail I still wonder about is the configuration for eth1 on
> dalton. Can it have an arbitrary static local address?
>
> allow-hotplug eth1
> iface eth1 inet static
> address 172.24.2.1
> netmask 255.255.255.0
>
> "Arbitrary" meaning that 172.24.2.1 is any local address which
> doesn't interfere with another interface in the LAN.

What you need it for? You expect dalton's eth1 to be connected with nothing
but carnot by means of a cross-over cable and the bridge will already give
you IP connectivity between them so no need for anything else.

There's in fact no "other interface in the LAN" to interfere with. Or am I
forgetting something?

Cheers.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201009180542.40987.jesus.navarro@undominio.net">ht tp://lists.debian.org/201009180542.40987.jesus.navarro@undominio.net


All times are GMT. The time now is 04:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.