DHCP dhcpd conf dhcpd conf ddnsupdatestyle none sharednetwork Slides: 63 Download presentation 1. 2 DHCPサーバの設定 dhcpd. conf 記述例 ## ## dhcpd. conf ## ddns-update-style none; shared-network DHCP { option subnet-mask 255. 0; default-lease-time 21600; max-lease-time 43200; (続く) 12 1. 2 DHCPサーバの設定 (続き) subnet 192. 168. 1. 0 netmask 255. 0 { range 192. 168. 1. 16 192. 168. 1. 240; option broadcast-address 192. 168. 1. 255; option routers 192. 168. 1. 1; option domain-name "xxxx. xx"; option domain-name-servers 192. 168. 1. 1; } } 13 1. 2 DHCPサーバの設定 l デーモンを起動 ØKNOPPIX (Debian系) $ invoke-rc. d dhcpd start $ update-rc. d dhcpd defaults ØRed. Hat系 $ service $ chkconfig dhcpd start on 15 1. 3 クライアントの設定 l Linuxクライアントの設定 Ø設定ファイルを編集する l/etc/network/interfaces (Debian系) l/etc/sysconfig/network-scripts /ifcfg-eth 0 (Red. Hat系) 17 1. 3 クライアントの設定 ØKNOPPIXでの設定例 (/etc/network/interfaces) # The primary network interface allow-hotplug eth 0 iface eth 0 inet dhcp 18 1. 3 クライアントの設定 【参考】 固定IPアドレス時の設定例 (KNOPPIX) allow-hotplug eth 0 iface eth 0 inet static address 133. 79. 53. 115 netmask 255. 0 broadcast 133. 79. 53. 255 gateway 133. 79. 53. 1 19 2. 2 ルータによる接続 Default: 172. 16. 4. 254 192. 168. 11. 253 172. 16. 4. 3 192. 168. 1. 0/24 192. 168. 11. 0/24 172. 16. 4. 254 192. 168. 11. 254 Default: 192. 168. 1. 254 172. 16. 6. 254 192. 168. 12. 254 32 2. 4 NATルータの実現 Ø再起動時にも有効にするには、 /etc/sysctl. cont ファイルの net. ipv 4. ip_forward 行を編集 /etc/sysctl. cont # Controls IP packet forwarding net. ipv 4. ip_forward = 1 : 0から1に変更 46 2. 5 iptablesの基本的な使用法 Ø各テーブルで、使用できるチェイン が異なる lfilter テーブル –INPUT, FORWARD, OUTPUT lnat テーブル –PREROUTING, OUTPUT, POSTROUTING 53 2. 5 iptablesの基本的な使用法 /etc/sysconfig/iptablesファイルの例 60 2. 5 iptablesの基本的な使用法 ØNAPT(IPマスカレード)機能の 設定例 $ iptables -t nat -A POSTROUTING -s 192. 168. 0. 0/24 -j MASQUERADE 61 Dhcp/bootp in dhcp serverKostenauflösung beispielConf tConf tErik wilhelmsenSplunk bossPhp snmp exampleHttpd.conf php 설정Logadm.confLambda confSelf confDhcp transition diagramApipa ipDhcp subnetDhcp and natRfc 2131 dhcpDhcp routing protocolDhcp fingerprintingDhcp troubleshooting scenariosDhcp icmpDhcp spoofing ettercapSnameTftp dhcpFailover protocolTipos de asignaciones dhcpDhcp protokolDifference between dhcp and bootpDhcp port numberDhcp ei toimiDhcp32Logo dhcpDhcp snifferPfsense dhcp dnsPihole adlistsDhcp packet typesDhcp configuration on routerDhcp header formatDhcp state transition diagramDhcp conflict ciscoBootp packet formatDhcp vs pppRfc 3361Dhcp and natServidor dhcp windows xpDurée du bail dhcpDhcp message formatTipos de mensajes dhcpMensajes de dhcpLab 3-5: install and configure dhcp and dns serversAruba mesh portalDhcp transition diagramView dhcp leases watchguard system managerGobbler dhcpWhat does dhcp stand forDhcp handshakeBootp layerCluster dhcpDhcp protokolü nedirDhcp pharmaDhcp historyDhcp logoDhcp cisco packet tracerDhcp client state diagramTipos de mensajes dhcp