refinski
(usa Ubuntu)
Enviado em 24/04/2014 - 10:48h
danniel-lara escreveu:
já verificou as rotas nos roteadores Debian ?
Pois é acredito que o erro esteja nele, vou passar abaixo como configurei tudo:
Maquina1- IP 192.168.3.2/24
Sw1- Vlan1 IP 192.168.1.4/24 Vlan2- atribui a interface Fst0/2 ligada ao micro
R1- eth0- IP 192.168.0.249/30 eth1- IP 192.168.1.5/24
R2- eth0- IP 192.168.0.250/30 eth1- IP 192.1681.3/24
Sw2- Vlan1 IP 192.168.1.2/24 Vlan2 atribui a interface Fst0/2 ligada ao micro
Maquina2- IP 192.168.3.4/24
R1#/etc/network/interfaces/
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.249
netmask 255.255.255.0
network 192.168.0.248
broadcast 192.168.0.251
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.5
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.248
auto eth1.2
allow-hotplug eth1
iface eth1 inet static
address 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
vlan_raw_device eth1
R2#/etc/network/interfaces/
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.250
netmask 255.255.255.0
network 192.168.0.248
broadcast 192.168.0.251
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.248
auto eth1.2
allow-hotplug eth1.2
iface eth1.2 inet static
address 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
vlan_raw_device eth1
quando dou um route -n aparece assim em ambos roteadores:
192.168.0.248 0.0.0.0 255.255.255.252 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.2
Se puder ajudar agradeceria muito, obrigado.