Cisco Cisco 2504 Wireless Controller Guía Para Resolver Problemas
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4186 (4.1 KB) TX bytes:8613 (8.6 KB)
Interrupt:18 Base address:0x2000
Add the Avahi daemon and VLAN packages to the OS via the sudo apt-get install vlan
avahi-daemon commands.
avahi-daemon commands.
5.
Edit the Avahi configuration file and enable the reflector functionality in the Avahi
Daemon.
Daemon.
ubuntu@ubuntu:~$ sudo nano /etc/avahi/avahi-daemon.conf
6.
Within the configuration file, change the “enable-reflector” option to yes and make sure that
no # symbol is before the line.
no # symbol is before the line.
#publish-domain=yes
#publish-dns-servers=192.168.50.1, 192.168.50.2
#publish-resolv-conf-dns-servers=yes
#publish-aaaa-on-ipv4=yes
#publish-a-on-ipv6=no
[reflector]
enable-reflector=yes #reflect-ipv=no
7.
Issue the sudo vconfig add eth0 <VLAN ID> command in order to add a
VLAN:
VLAN:
ubuntu@ubuntu:~$ sudo vconfig add eth0 20
Added VLAN with VID == 20 to IF -:eth0:-
Note: This command may output additional text
containing “WARNING: Could not open /proc/net/vlan/config.” This does not affect the
capabilities of the Bonjour Gateway.
capabilities of the Bonjour Gateway.
8.
A new Ethernet interface in Linux will be created under the nomenclature of
eth.<vlan id>
.
This new interface can be statically assigned an IP address or run DHCP.In order to run
DHCP on the interface, issue the sudo dhclient eth0.<VLAN ID> command.
DHCP on the interface, issue the sudo dhclient eth0.<VLAN ID> command.
ubuntu@ubuntu:~$
sudo dhclient eth0.20
9.
Issue the ifconfig command again in order to confirm that the newly created interface has
an IP address:
an IP address:
ubuntu@ubuntu:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:50:56:b3:5e:e2
inet addr:192.168.10.109 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr:
2001:db8:0:10:250:56ff:feb3:5ee2/64 Scope:Global inet6 addr: fe80::250:56ff:feb3:5ee2/64
Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:123 errors:0
dropped:26 overruns:0 frame:0 TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 RX bytes:12311 (12.3 KB) TX bytes:14712 (14.7 KB)
Interrupt:18 Base address:0x2000 eth0.20 Link encap:Ethernet HWaddr 00:50:56:b3:5e:e2 inet
addr:192.168.20.20 Bcast:192.168.20.255 Mask:255.255.255.0 inet6 addr:
2001:db8:0:20:250:56ff:feb3:5ee2/64 Scope:Global inet6 addr: fe80::250:56ff:feb3:5ee2/64
Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0
dropped:0 overruns:0 frame:0 TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 RX bytes:762 (762.0 B) TX bytes:5508 (5.5 KB)
10.
Repeat steps 8 through 9 for as many VLANs needed on the Bonjour gateway.Note: : The
Avahi Bonjour software on the gateway will automatically listen on the new interfaces with
IP addresses.
Avahi Bonjour software on the gateway will automatically listen on the new interfaces with
IP addresses.
11.
List the current Bonjour-capable devices on all subnets connected to the gateway using the
avahi-browse –all -t command:
avahi-browse –all -t command:
ubuntu@ubuntu:~$ avahi-browse --all -t + eth0.26 IPv4
admin@MBP-250 (2) iChat Presence local + eth0.26 IPv4 admin@MBP-130 iChat Presence local +
eth0.25 IPv4 admin@MBP-250 (2) iChat Presence local + eth0.25 IPv4 admin@MBP-130 iChat
Presence local + eth0.30 IPv4 admin@MBP-250 (2) iChat Presence local + eth0.30 IPv4
admin@MBP-130 iChat Presence local + eth0.20 IPv4 admin@MBP-250 (2) iChat Presence local +
eth0.20 IPv4 admin@MBP-130 iChat Presence local + eth0 IPv4 admin@MBP-250 (2) iChat
Presence local + eth0 IPv4 admin@MBP-130 iChat Presence local + eth0.26 IPv4 MBP-10.6 (2)
VNC Remote Access local + eth0.26 IPv4 MBP-10.7 (2) VNC Remote Access local + eth0.25 IPv4
MBP-10.6 (2) VNC Remote Access local + eth0.25 IPv4 MBP-10.7 (2) VNC Remote Access local +
eth0.30 IPv4 MBP-10.6 (2) VNC Remote Access local + eth0.30 IPv4 MBP-10.7 (2) VNC Remote
Access local + eth0.20 IPv4 MBP-10.6 (2) VNC Remote Access local + eth0.20 IPv4 MBP-10.7
(2) VNC Remote Access local + eth0 IPv4 MBP-10.6 (2) VNC Remote Access local + eth0 IPv4
MBP-10.7 (2) VNC Remote Access local + eth0.26 IPv4 reflector Remote Disk Management local
+ eth0.25 IPv4 reflector Remote Disk Management local + eth0.30 IPv4 reflector Remote Disk
12.