Skip to contentSkip to conversation

Vitural Network Interfaces

DISCUSSION David Jackson 2 participants 4 messages Jul 10, 2002

lore
Share & tools
lore
#0 lore raw

A common reframe on http://linuxquestons.org is:

4 boxes each with one(1) nic card and each having a seperate connection through a router to the internet (CABLE/DSL).

IN THEORY could you set up LAN using a virtual network interface on that one nic card i.e.

eth0 ----->router ---->internet
eth0:1 --->LAN

Calk this one up to lack of sleep :)

David

#1 lore raw
Quoted 7 lines

A common reframe on http://linuxquestons.org is:

4 boxes each with one(1) nic card and each having a seperate connection through a router to the internet (CABLE/DSL).

IN THEORY could you set up LAN using a virtual network interface on that one nic card i.e.

Yeap, we utalize this for talking to power control devices and the like.

-Nate

Quoted 12 lines

eth0 ----->router ---->internet
eth0:1 --->LAN

Calk this one up to lack of sleep :)

David
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 8 lines
--
"Whoever undertakes to set himself up as a judge of Truth and Knowledge is
 shipwrecked by the laughter of the gods."
   Albert Einstein

Chisolm's First Corollary to Murphy's Second Law:
	When things just can't possibly get any worse, they will.
--
#2 lore raw

Nathan --
As far is the cable internet and router is concerned

Box A =  eth0 --192.168.0.1 -->|router (port 1)| -->206.196.128.1:1 ->internet
Box B =  eth0 --192.168.0.2 -->|router (port 2)| -->206.196.128.1:2 ->internet

and the LAN would still be 192.168.0.x?
Would you need to add a hub between router and the boxes?

TIA,
David

Quoted 33 lines · Nathan
Quoted 6 lines

A common reframe on http://linuxquestons.org is:

4 boxes each with one(1) nic card and each having a seperate connection through a router to the internet (CABLE/DSL).

IN THEORY could you set up LAN using a virtual network interface on that one nic card i.e.

Yeap, we utalize this for talking to power control devices and the like.

-Nate

Quoted 4 lines

eth0 ----->router ---->internet
eth0:1 --->LAN

Quoted 8 lines

Calk this one up to lack of sleep :)

David
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
--
"Whoever undertakes to set himself up as a judge of Truth and Knowledge is
shipwrecked by the laughter of the gods."
Albert Einstein

Chisolm's First Corollary to Murphy's Second Law:
When things just can't possibly get any worse, they will.
--

#3 lore raw

Hi David,

Quoted 7 lines

Nathan --
As far is the cable internet and router is concerned

Box A =  eth0 --192.168.0.1 -->|router (port 1)| -->206.196.128.1:1 ->internet
Box B =  eth0 --192.168.0.2 -->|router (port 2)| -->206.196.128.1:2 ->internet

and the LAN would still be 192.168.0.x?
Would you need to add a hub between router and the boxes?

It depends on the config of the router. Since most of us don't have control over our upstream routers the most reliable config would be to use a hub/switch between you and the router.

Cheers,
Nathan

Quoted 41 lines

TIA,
David

Quoted 33 lines · Nathan
Quoted 6 lines

A common reframe on http://linuxquestons.org is:

4 boxes each with one(1) nic card and each having a seperate connection through a router to the internet (CABLE/DSL).

IN THEORY could you set up LAN using a virtual network interface on that one nic card i.e.

Yeap, we utalize this for talking to power control devices and the like.

-Nate

Quoted 4 lines

eth0 ----->router ---->internet
eth0:1 --->LAN

Quoted 8 lines

Calk this one up to lack of sleep :)

David
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
--
"Whoever undertakes to set himself up as a judge of Truth and Knowledge is
shipwrecked by the laughter of the gods."
Albert Einstein

Chisolm's First Corollary to Murphy's Second Law:
When things just can't possibly get any worse, they will.
--

Signature · 8 lines
--
"Whoever undertakes to set himself up as a judge of Truth and Knowledge is
 shipwrecked by the laughter of the gods."
   Albert Einstein

Chisolm's First Corollary to Murphy's Second Law:
	When things just can't possibly get any worse, they will.
--