'added iproute2 to environment'

This commit is contained in:
Tobias Powalowski 2009-01-18 21:17:01 +01:00
parent 75c605a884
commit aa13944867
7 changed files with 108 additions and 2 deletions

View file

@ -4,9 +4,9 @@ install ()
{
MODULES=" $(checked_modules "/drivers/net/" | grep -ve "wireless") "
BINARIES="ping ping6 route nslookup telnet ssh"
BINARIES="ping ping6 route nslookup telnet ssh arpd genl ifcfg ifstat ip lnstat nstat routef routel rtacct rtmon rtpr ss tc"
FILES=""
SCRIPT=""
SCRIPT="arch_net"
add_file "/sbin/dhcpcd"
add_file "/sbin/ifenslave"
add_file "/usr/sbin/brctl"
@ -19,6 +19,16 @@ install ()
done
add_file "/usr/share/archboot/net/etc/dhcpcd.conf" "/etc/dhcpcd.conf"
add_dir "/var/lib/dhcpcd"
add_file "/lib/tc/experimental.dist"
add_file "/lib/tc/normal.dist"
add_file "/lib/tc/pareto.dist"
add_file "/lib/tc/paretonormal.dist"
add_file "/usr/share/archboot/net/etc/iproute2/ematch_map /etc/iproute2/ematch_map"
add_file "/usr/share/archboot/net/etc/iproute2/rt_dsfield /etc/iproute2/rt_dsfield"
add_file "/usr/share/archboot/net/etc/iproute2/etc/iproute2/rt_protos /etc/iproute2/rt_protos"
add_file "/usr/share/archboot/net/etc/iproute2/etc/iproute2/rt_realms /etc/iproute2/rt_realms"
add_file "/usr/share/archboot/net/etc/iproute2/etc/iproute2/rt_scopes /etc/iproute2/rt_scopes"
add_file "/usr/share/archboot/net/etc/iproute2/etc/iproute2/rt_tables /etc/iproute2/rt_tables"
}
help ()

View file

@ -0,0 +1,5 @@
# lookup table for ematch kinds
1 cmp
2 nbyte
3 u32
4 meta

View file

@ -0,0 +1,27 @@
0x00 default
0x10 lowdelay
0x08 throughput
0x04 reliability
# This value overlap with ECT, do not use it!
0x02 mincost
# These values seems do not want to die, Cisco likes them by a strange reason.
0x20 priority
0x40 immediate
0x60 flash
0x80 flash-override
0xa0 critical
0xc0 internet
0xe0 network
# Newer RFC2597 values
0x28 AF11
0x30 AF12
0x38 AF13
0x48 AF21
0x50 AF22
0x58 AF23
0x68 AF31
0x70 AF32
0x78 AF33
0x88 AF41
0x90 AF42
0x98 AF43

View file

@ -0,0 +1,29 @@
#
# Reserved protocols.
#
0 unspec
1 redirect
2 kernel
3 boot
4 static
8 gated
9 ra
10 mrt
11 zebra
12 bird
13 dnrouted
14 xorp
15 ntk
#
# Used by me for gated
#
254 gated/aggr
253 gated/bgp
252 gated/ospf
251 gated/ospfase
250 gated/rip
249 gated/static
248 gated/conn
247 gated/inet
246 gated/default

View file

@ -0,0 +1,13 @@
#
# reserved values
#
0 cosmos
#
# local
#
#1 inr.ac
#2 inr.ruhep
#3 freenet
#4 radio-msu
#5 russia
#6 internet

View file

@ -0,0 +1,11 @@
#
# reserved values
#
0 global
255 nowhere
254 host
253 link
#
# pseudo-reserved
#
200 site

View file

@ -0,0 +1,11 @@
#
# reserved values
#
255 local
254 main
253 default
0 unspec
#
# local
#
#1 inr.ruhep