LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to connect a gateway linux with vlan ? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-connect-a-gateway-linux-with-vlan-305437/)

ctis78 03-24-2005 06:27 AM

how to connect a gateway linux with vlan ?
 
dear all


i have gateway on linux machine and i did create 2 vlan's on a cisco switch .
the 2 vlan's must get internet via gateway

how can i connect the gateway on linux to a switch?

what have i to do on the linux machine?




greeting

trickykid 03-25-2005 07:13 AM

If your wanting to setup your default gateway it would be something like this from the CLI:

route add default gw <ip-address-of-gateway>

But your actual question doesn't come off being really clear in what your trying to do exactly.

ctis78 03-25-2005 07:28 AM

dear trickykid

thanx for replaying

i have small LAN networking

i did creat 2 vlan's op manged switch . i do not like to use a router because it is small networking

totaly 22 workstations and i have 1 gateway machine running under linux.



the linux machine is a gateway machin voor internet.

my questions:

how can i provide internet accses via the gateway linux machine for the both vlan's?

have i to do somthing as setup under linux ?


greeting


All times are GMT -5. The time now is 09:25 AM.