問題ID1152 ip default-gateway
ponpokopi
投稿数: 14
問題ID1152の問題を実際に設定してみたけどpingすら通らない状態です。なぜでしょう?以下に私が設定したスイッチとルータのconfigを貼り付けます。どなたかご教授下さい。
スイッチ↓
Building configuration...
Current configuration : 1079 bytes
!
version 12.1
no service password-enption
!
hostname Switch
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
switchport mode trunk
!
interface Vlan1
ip address 100.1.1.1 255.255.255.0
!
interface Vlan2
ip address 100.1.2.1 255.255.255.0
!
interface Vlan13
no ip address
!
ip default-gateway 100.1.1.30
!
line con 0
!
line vty 0 4
password q
login
line vty 5 15
login
!
!
end
ルータ↓
!
version 12.4
no service password-enption
!
hostname Router
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 1 native
ip address 100.1.1.30 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 2
ip address 100.1.2.30 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
password q
login
!
!
end
Telnet用端末のIP:100.1.10.11
スイッチ↓
Building configuration...
Current configuration : 1079 bytes
!
version 12.1
no service password-enption
!
hostname Switch
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
switchport mode trunk
!
interface Vlan1
ip address 100.1.1.1 255.255.255.0
!
interface Vlan2
ip address 100.1.2.1 255.255.255.0
!
interface Vlan13
no ip address
!
ip default-gateway 100.1.1.30
!
line con 0
!
line vty 0 4
password q
login
line vty 5 15
login
!
!
end
ルータ↓
!
version 12.4
no service password-enption
!
hostname Router
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 1 native
ip address 100.1.1.30 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 2
ip address 100.1.2.30 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
password q
login
!
!
end
Telnet用端末のIP:100.1.10.11
投稿ツリー
-
問題ID1152 ip default-gateway
(ponpokopi, 2010-4-13 23:09)
- Re: 問題ID1152 ip default-gateway (yyamashi, 2010-4-14 10:31)
-
Re: 問題ID1152 ip default-gateway
(ponpokopi, 2010-4-14 21:15)
- Re: Re: 問題ID1152 ip default-gateway (yyamashi, 2010-4-15 8:53)