User Tools

Site Tools


informatica:linux:red:vlan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
informatica:linux:red:vlan [2014/10/13 15:39] javiinformatica:linux:red:vlan [2015/04/13 20:19] (current) – external edit 127.0.0.1
Line 13: Line 13:
 3. Crear VLAN 3. Crear VLAN
  
-  sudo vconfig add wlan0 2+<code> 
 +sudo vconfig add wlan0 2 
 + 
 +Added VLAN with VID == 2 to IF -:wlan0:- 
 +</code> 
 + 
 +Comprobar: 
 + 
 +<code> 
 +sudo ifconfig  
 + 
 +wlan0.2   Link encap:Ethernet  HWaddr 00:24:d7:24:31:20   
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:0  
 +          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 
 +</code> 
 + 
 +4. Configurar IP 
 + 
 +<code> 
 +sudo ifconfig wlan0.2 10.0.1.105 netmask 255.255.255.0 up 
 + 
 +wlan0.2   Link encap:Ethernet  HWaddr 00:24:d7:24:31:20   
 +          inet addr:10.0.1.105  Bcast:10.0.1.255  Mask:255.255.255.0 
 +          inet6 addr: fe80::224:d7ff:fe24:3120/64 Scope:Link 
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
 +          TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 
 +          collisions:0 txqueuelen:0  
 +          RX bytes:0 (0.0 B)  TX bytes:9018 (8.8 KiB) 
 +</code> 
 + 
  
   * Eliminar VLAN   * Eliminar VLAN
  
   sudo vconfig rem wlan0.2   sudo vconfig rem wlan0.2
informatica/linux/red/vlan.1413214767.txt.gz · Last modified: 2015/04/13 20:19 (external edit)