您的位置:首页 > 运维架构

OpenWRT in the role of upstream

2014-10-11 09:32 375 查看
OpenWRT in the role of upstream

Pavel Simerda

pavlix@pavlix.net

InstallFest.CZ 2014, Praha
http://data.pavlix.net/installfest/2014/
Software used in OpenWRT

System initialization

Current OpenWRT

procd, ubox

Former OpenWRT

busybox-init, hotplug2, block-mount

Classic distributions

systemd

upstart, udev

sysvinit, rc, udev

Interprocess communication service

Current OpenWRT

ubusd

Classic distributions

dbus-daemon

Common con guration database

Current OpenWRT

uci

Classic distributions

none

Network con guration service

Current OpenWRT

netifd, busybox-udhcpc, odhcp6c

Classic distributions

NetworkManager, dhclient

Client con guration provider

Current OpenWRT

odhcpd (dnsmasq is still default for IPv4)

Classic distributions

dhcp

dnsmasq (for NetworkManager and libvirt)

DNS cache

Current OpenWRT

dnsmasq

Classic distributions

none

dnsmasq

unbound (supports DNSSEC)

Remote shell access

Current OpenWRT

dropbear, telnetd

Classic distributions

openssh

Remote web access

Current OpenWRT

uhttpd, luci

Classic distributions

apache, webmin

OpenWRT software worth considering

Networking software

netifd { the network con guration daemon

odhcpd { DHCPv4, DHCPv6 and RA server

odhcp6c { RA and DHCPv6 client

Networking software: con guration example

/etc/con g/network

config interface lan

option ifname enp0s25

option type bridge

option proto static

option ipaddr 192.168.1.1

option netmask 255.255.255.0

Networking software: con guration example

ip address show

2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP>

mtu 1500 qdisc pfifo_fast

master br-lan state DOWN qlen 1000

link/ether f0:de:f1:24:97:32

brd ff:ff:ff:ff:ff:ff

9: br-lan: <NO-CARRIER,BROADCAST,MULTICAST,UP>

mtu 1500 qdisc noqueue state DOWN

link/ether f0:de:f1:24:97:32

brd ff:ff:ff:ff:ff:ff

inet 192.168.1.1/24 brd 192.168.1.255

scope global br-lan

valid_lft forever preferred_lft forever

Other software, dependencies

procd, ubox, libubox -- the base system

ubusd, libubus -- interprocess communication

uci, libuci -- common con guration access

uhttpd, luci -- web interface
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐