Outils pour utilisateurs

Outils du site


machines:grifon:budic

budic

Rôle principal : routeur BGP secondaire

Machine physique (APU)

FreeBSD budic.cogent-rns.grifon.fr 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Configuration matérielle :

  • AMD G-T40E Processor
  • 2G de RAM
  • re0 : RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet
  • re1 : RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet
  • re2 : RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet

Services :

Administrateurs :

  • alarig
  • glucas
  • petrus
  • gizmo
  • dotux

Configuration réseau

  • re0, interface sans IP
  • re0.20, interconnexion avec cogent
  • re0.21, interconnexion avec quantic
  • re1, interface réseau grifon
  • re2, interface LAN admin

Contrairement à nominoe, budic n’a pas de tunnels. La raison principale est que nous étions déjà mutli-homés quand nous l’avons mis en place, nous n’avions donc plus besoin d’ARN et de HE.

re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether 00:0d:b9:3a:24:b8
	inet6 fe80::20d:b9ff:fe3a:24b8%re0 prefixlen 64 scopeid 0x1 
	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether 00:0d:b9:3a:24:b9
	inet6 fe80::20d:b9ff:fe3a:24b9%re1 prefixlen 64 scopeid 0x2 
	inet6 2a00:5884::6 prefixlen 64 
	inet 89.234.186.6 netmask 0xffffff80 broadcast 89.234.186.127 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether 00:0d:b9:3a:24:ba
	inet6 fe80::20d:b9ff:fe3a:24ba%re2 prefixlen 64 scopeid 0x3 
	inet 172.17.0.10 netmask 0xffffff00 broadcast 172.17.0.255 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	groups: lo 
re0.20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	description: transit cogent
	options=3<RXCSUM,TXCSUM>
	ether 00:0d:b9:3a:24:b8
	inet6 fe80::20d:b9ff:fe3a:24b8%re0.20 prefixlen 64 scopeid 0x5 
	inet6 2001:978:2:4e::5:3 prefixlen 112 
	inet 149.6.72.99 netmask 0xfffffff8 broadcast 149.6.72.103 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
	vlan: 20 vlanpcp: 0 parent interface: re0
	groups: vlan 
re0.21: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	description: transit quantic
	options=3<RXCSUM,TXCSUM>
	ether 00:0d:b9:3a:24:b8
	inet6 fe80::20d:b9ff:fe3a:24b8%re0.21 prefixlen 64 scopeid 0x6 
	inet6 2a06:e040:3501:101:2::3 prefixlen 80 
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
	vlan: 21 vlanpcp: 0 parent interface: re0
	groups: vlan 

Configuration système

/etc/rc.conf
clear_tmp_enable="YES"
hostname="budic.cogent-rns.grifon.fr"
keymap="fr.iso.acc.kbd"
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
 
smartd_enable="YES"
 
# No IP (subif)
ifconfig_re0="up"
 
# IPv4
ifconfig_re1="inet 89.234.186.6 netmask 255.255.255.128"
ifconfig_re2="inet 172.17.0.10 netmask 255.255.255.0"
 
defaultrouter="149.6.72.97"
 
 
# IPv6
ipv6_activate_all_interfaces="YES"
ipv6_defaultrouter="2001:978:2:4e::5:1"
ifconfig_re1_ipv6="inet6 2a00:5884::6/64"
 
# BGP
#bird_enable="YES"
#bird6_enable="YES"
 
# SNMP
snmpd_enable="YES"
snmpd_flags="-a"
snmpd_conffile="/usr/local/etc/snmpd.conf"
snmptrapd_enable="YES"
snmptrapd_flags="-a -p /var/run/snmptrapd.pid"
bsnmpd_enable="YES"
 
# munin
munin_node_enable="YES"
/etc/start_if.re0
#!/bin/sh
 
ifconfig re0.20 create
ifconfig re0.20 description "transit cogent"
ifconfig re0.20 vlan 20 vlandev re0
ifconfig re0.20 inet 149.6.72.99 netmask 255.255.255.248
ifconfig re0.20 inet6 2001:978:2:4e::5:3/112
 
ifconfig re0.21 create
ifconfig re0.21 description "transit quantic"
ifconfig re0.21 vlan 21 vlandev re0
#ifconfig re0.21 inet 169.254.1.2 netmask 255.255.255.252
ifconfig re0.21 inet6 2a06:e040:3501:0101:0002::3/80
machines/grifon/budic.txt · Dernière modification: 2017/08/18 22:03 par dotux