>> Edit article
이름
제목
패스워드
흠.. eth2에 192.168.0/24로 설정을 하고 ip alias를 걸어서 eth2:0에 192.168.1/24로 설정을 했습니다. 문제는 192.168.1/24에서 192.168.0./24로 네트웍이 안된다는 점입니다. ping을 해봤는데 안되는군요. 즉 192.168.1/24네트웍의 클라이언트에서 192.168.0/24의 클라이언트로 연결이 안됩니다. 그 반대는 되는군요.... eth1이 케이블모뎀인데 두네트웍다 통신은 잘됩니다.(iptables사용 nat설정) 뭔가 라우팅 처리를 해줘야 할 것 같은데..... [root@gw root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 211.217.193.0 * 255.255.255.0 U 0 0 0 eth0 210.221.64.0 * 255.255.255.0 U 0 0 0 eth1 192.168.1.0 * 255.255.255.0 U 0 0 0 eth2 192.168.0.0 * 255.255.255.0 U 0 0 0 eth2 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 210.221.64.1 0.0.0.0 UG 0 0 0 eth1 [root@gw root]# ifconfig eth0 Link encap:Ethernet HWaddr 00:E0:29:5A:9D:B7 inet addr:211.217.193.74 Bcast:211.217.193.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:168 (168.0 b) Interrupt:15 Base address:0x1400 eth1 Link encap:Ethernet HWaddr 00:E0:29:2A:24:CB inet addr:210.221.64.102 Bcast:255.255.255.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16725 errors:0 dropped:0 overruns:0 frame:0 TX packets:1847 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:2470181 (2.3 Mb) TX bytes:217692 (212.5 Kb) Interrupt:10 Base address:0x9000 eth2 Link encap:Ethernet HWaddr 00:E0:29:96:D6:89 inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12734 errors:0 dropped:0 overruns:0 frame:0 TX packets:4034 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1282272 (1.2 Mb) TX bytes:1778761 (1.6 Mb) Interrupt:11 Base address:0xb000 eth2:0 Link encap:Ethernet HWaddr 00:E0:29:96:D6:89 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11 Base address:0xb000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1064 (1.0 Kb) TX bytes:1064 (1.0 Kb) [root@gw root]# 답변 부탁드립니다.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved