■ ネットワーク構成
[10.0.0.10]----F0/1[Cisco]F0/0----{192.168.1.0}----eth0[Ubuntu]eth1----[10.0.0.11]
■ Cisco
int fa0/0
ip address 192.168.1.1 255.255.255.0
no ip proxy-arp
!
int fa0/1
ip address 10.0.0.1 255.255.255.0
ip proxy-arp ! デフォルト値
!
ip route 10.0.0.11 255.255.255.255 192.168.1.2
■ Ubuntu
[/etc/network/interfaces]
auto eth1
iface eth1 inet static
address 192.168.1.2
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 10.0.0.1
netmask 255.255.255.0
up echo 1 >/proc/sys/net/ipv4/conf/eth1/proxy_arp
up route add -host 10.0.0.10 gw 192.168.1.1
down echo 0 >/proc/sys/net/ipv4/conf/eth1/proxy_arp
down route del -host 10.0.0.10 gw 192.168.1.1
参考
0 件のコメント:
コメントを投稿