RTシリーズとCISCOルータの相互接続のための設定例集
DHCP機能(RT105iがDHCPサーバ)
新規作成日 | 2002/Jun/21 |
最終変更日 | 2002/Jun/21 |
文書サイズ | 6kB |
DHCP機能(RT105iがDHCPサーバ)
[ DHCP機能(RT105iがDHCPサーバ) ]
PC2 | ------+------ 172.16.1.0/24 |.254 +---------+ |Cisco3640| IOS 12.2(8)T +---------+ : : 専用線(64kbit/s) : : +---------+ | RT105i | Rev6.03.08 +---------+ |.254 ------+------ 192.168.1.0/24 | PC1 |
console prompt RT105i: ip lan1 address 192.168.1.254/24 line type bri1 l64 pp select 1 pp bind bri1 pp enable 1 ip route default gateway pp 1 dhcp service server ................................................ *1 dhcp scope 1 192.168.1.1-192.168.1.200/24 .......................... *2 dhcp scope 2 172.16.1.1-172.16.1.200/24 gateway 172.16.1.254 ....... *2 |
*1 | DHCPサーバ機能を有効にします。 |
*2 | DHCPにて与えるIPアドレスの範囲を設定します。 |
hostname Cisco3640 ! ip subnet-zero no ip domain-lookup ! isdn switch-type ntt isdn leased-line BRI3/0 ! interface FastEthernet0/0 ip address 172.16.1.254 255.255.255.0 ip helper-address 192.168.1.254 ................................... *3 ! interface BRI3/0 no ip address shutdown ! interface BRI3/0:1 ip unnumbered FastEthernet0/0 encapsulation ppp ! interface BRI3/0:2 no ip address shutdown ! ip route 0.0.0.0 0.0.0.0 BRI3/0:1 |
*3 | DHCPサーバのアドレスを設定します。 |
|