Previous | Linux Wireless Access Point HOWTO |
Next |
!
! Example /etc/zebra/zebra.conf configuration file ! ! Change the hostname to the name of your Access Point hostname accesspoint ! Set both of these passwords password kiwifi enable password k1w1f1 ! Turn off welcome messages no banner motd ! Interface definitions ! Loopback interface lo     description loopback interface ! Wired interface interface eth0     description wired interface ! Set this to the IP address and mask that your Access Point uses on your wired network     ip address 192.168.5.6/24 ! Wireless interface interface wlan0     description wireless interface ! Set this to the IP address of your Access Point uses on your wireless network, using ! the network allocation from your wireless administrator (10.x.x.1/24)     ip address 10.1.2.1/24 ! Don't send out routing information to uninterested wireless client systems.     multicast ! Create an access list that allows access from localhost and nowhere else access-list access permit 127.0.0.1/32 access-list access deny any ! Enable access control on the command-line interface line vty     access-class access ! Enable a static route. Set this to the router on your wired network ip route 0.0.0.0/0 192.168.5.1 ! Enable logging log file /var/log/zebra/zebra.log |
!
! Example /etc/zebra/ospfd.conf configuration file ! ! Change the hostname to the name of your Access Point hostname accesspoint ! Set both of these passwords password kiwifi enable password k1w1f1 ! Turn off welcome messages no banner motd ! Create an access list that allows access from localhost and nowhere else access-list access permit 127.0.0.1/32 access-list access deny any ! Enable access control on the command-line interface line vty     access-class access ! Use authentication key for Access Point to Access Point communication interface wlan0     ip ospf authentication-key kiwifi ! Enable routing for the entire wireless network router ospf     network 10.0.0.0/8 area 0 ! Set the router ID to the IP address of WLAN0     ospf router-id 10.1.2.1 ! Enable authentication on the wireless network     area 0 authentication ! Enable RFC-1583 compatibility to avoid routing loops     compatible rfc1583 ! Enable logging log file /var/log/zebra/ospfd.log |
[root@accesspoint root]# telnet localhost zebra |
[root@accesspoint root]# telnet localhost ospfd |
[root@accesspoint root]# telnet localhost zebra
Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. User Access Verification Password:kiwifi accesspoint>?    enable        Turn on privileged mode command    exit            Exit current mode and down to previous mode    help           Description of the interactive help system    list             Print command list    quit            Exit current mode and down to previous mode    show          Show running system information    terminal    Set terminal line parameters    who           Display who is on vty accesspoint> exit Connection closed by foreign host. [root@accesspoint root]# |
accesspoint> show ip ospf |
OSPF Routing Process, Router ID: 0.0.0.0
Supports only single TOS (TOS0) routes This implementation conforms to RFC2328 RFC1583Compatibility flag is enabled OpaqueCapability flag is disabled SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Refresh timer 10 secs Number of external LSA 0 Number of areas attached to this router: 1 Area ID: 0.0.0.0 (Backbone)   Number of interfaces in this area: Total: 0, Active: 0   Number of fully adjacent neighbors in this area: 0   Area has no authentication   SPF algorithm executed 0 times   Number of LSA 0 |
Previous | Home | Next |