������³����
���Ϥ����顣

NAT�������Cisco�롼�������ꤷ�Ƥߤ롣
�����PAT���Ѥ��Ƥߤ���

---Router2514_B
ip nat pool TEST02 192.168.11.100 192.168.11.100 netmask 255.255.255.0
ip nat inside source list 10 pool TEST02
access-list 10 permit 192.168.0.0 0.0.0.255
interface Ethernet0
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
!
interface Ethernet1
 ip address 192.168.11.100 255.255.255.0
 ip nat outside
---
PAT���Ѥ���PC B¦�Υ��ɥ쥹�򤹤٤�
�֥����ɥХ�ɥ롼��¦�Υ��ɥ쥹���Ѵ�����褦�ˤ��Ƥ��롣
�����NAT�ơ��֥뤬��������
192.168.0.0/24���ϰϤ�IP��Cisco�롼����Ȥ��ä�
192.168.11.100���Ѵ�����롣

��ǧ���ޥ�ɤϰʲ���
---
Router2514_B#show ip nat translations
Pro Inside global      Inside local       Outside local      Outside global
--- 192.168.11.100     192.168.0.2        ---                ---
---
���ΤȤ���PC B��192.168.0.2��IP�ΤȤ�
ping 192.168.11.1���ǤĤ�

sourceIP��192.168.0.2 ---> NAT�Ѵ�--->192.168.11.100
�Ȥʤꡢ192.168.11.1�Υ��ɥ쥹��Ping���Ϥ��褦�ˤʤ롣

---debug���ޥ�ɤdz�ǧ
Router2514_B#debug ip nat
IP NAT debugging is on

(PC B����192.168.11.100���Ƥ�Ping���Ǥ�)

Router2514_B#
03:13:29: NAT*: s=192.168.0.2->192.168.11.100, d=192.168.11.1 [458]
03:13:29: NAT*: s=192.168.11.1, d=192.168.11.100->192.168.0.2 [536]
03:13:29: NAT: s=192.168.0.2->192.168.11.100, d=192.168.11.1 [459]
Router2514_B#
�� telnet�ʤ�terminal monitor,console�ʤ�logging console��debugɽ��
---

�����ǡ��롼���˥롼�ƥ��󥰤�񤤤Ƥ�����
PC B���饤�󥿡��ͥåȤ���ã���뤳�Ȥ��ǧ������
---
Router2514_B(config)#ip route 0.0.0.0 0.0.0.0 192.168.11.1
---
Router2514_B#show ip route
Gateway of last resort is 192.168.11.1 to network 0.0.0.0

C    192.168.11.0/24 is directly connected, Ethernet1
C    192.168.0.0/24 is directly connected, Ethernet0
S*   0.0.0.0/0 [1/0] via 192.168.11.1
---

����ʴ�����

���Ⱥ٤������Ȥ򤹤�Ȥʤ��debug���ޥ�ɻ��λ��֤������
���Τ����ʤ��NTP�����Ф��ۤ��ƻ���Ʊ����
DHCP��IP���ɥ쥹�ϰϤ򶹤�롣
�Ȥ��ä���ˡ���⤫�֤�������

³���Ϥ����졣


�㻲�͡�
---Router2514_B�Υ���ե���
conf t
!
service dhcp
!
hostname Router2514_B
!
!
no logging console
!
clock timezone JST 9
no aaa new-model
!
ip dhcp pool TEST
   network 192.168.0.0 255.255.255.0
   default-router 192.168.0.1
   dns-server 192.168.11.1
   netbios-name-server 192.168.11.1
   lease 10
!
interface Ethernet0
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 no shut
!
interface Ethernet1
 ip address 192.168.11.100 255.255.255.0
 ip nat outside
 no shut
!
ip nat pool TEST02 192.168.11.100 192.168.11.100 netmask 255.255.255.0
ip nat inside source list 10 pool TEST02
ip route 0.0.0.0 0.0.0.0 192.168.11.1
!
!
access-list 10 permit 192.168.0.0 0.0.0.255
!
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
 exec-timeout 0 0
 no login
!
end