Dashamir Hoxha wrote:
Using VLANs, you can separate the networks on the link level instead. This is the same (in software) as using 2 different LAN ports (in hardware).

Thanks for the suggestion. I am trying it, and it seems very easy to be used.
However the problem is that it is not working.
I am doing it like this:

# /sbin/modprobe 8021q
# /sbin/vconfig add eth0 2
# /sbin/ip link set eth0.2 up
# /sbin/ip addr add 192.168.10.2/24 dev eth0.2

When I try: `ping 192.168.10.1` it says "Destination Host Unreachable".
Both IPs are connected to the same switch. Does anybody know what can be wrong?

Dashamir


_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
You need a switch with 802.1q vlan support (cisco for example). The network card need to be pluged in a switch port in "trunk" mode, and the providers each in its access switch port in specified vlan (like 2).
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to