>> Delete No. 63585 article
No. 이글을 보실라나.~~

등록 2002-12-29 17:10:00 By localhost     조회 5
이름 chobo    

		제가 보고 하는 책이 있어서 그 책의 저자에게 도움을 요청한 상태지만
 또 올려봅니다..
 이하...
  =========================================================
클라이언트(윈98)
 ip      192.168.10.2
서브넷  255.255.255.0
 dns  한통 dns
 현재  서버(리눅스/윈2000 멀티 부팅입니다.)에서 윈2000을 통한 클라이언트 윈98와의 인터
넷 공유는 잘 되고 있습니다. ㅡ.,ㅡ;;
  설정은 이렇게 했습니다.
책하고 약간 다를것입니다. 책대로 하니깐 진전이없어서요. 
 ㅡ.ㅡ;;;
  /etc/sysconfig/network
 NETWORKING=yes
HOSTNAME=gunsmoke.cowboy.net
DOMMAINNAME=cowboy.net
FORWARD_IPV4=yes
GATEWAYDEV=eth0
GATEWAY=192.168.10.1
 
여기서 책에는 GATEWAYDEV=eth1 이라고 되어 있던데요.
 전.. 여기서 eht0으로 두고 eth1의 설정에 ONBOOT=yes 라고 해놓
 아도 서버인 리눅스에서 인터넷도 되더군요. 또 클라이언트(윈
 98)에서 텔넷이 되었습니다. GATEDEV=eht1 로 두고 eth1의 설정
 에서 ONBOOT=yes라고 두고 재부팅하면 서버인 리눅스에서 인터넷
 이 안되었습니다. 다만 클라이언트에서 텔넷은 되더군요.
 현재 문제는...  클라이언트에서 인터넷이 안된다는 것입니다.
 서버에서 인터넷은 되고 클라이언트에서 텔넷도 되는데 인터넷
 이 안되는군요. 참 !  책의 내용대로 라우팅과 ip메스커레이드
 설정은 따로 했구요.
 /etc/rc.d/rc.local 에서..  잘 설정했고.
 cat ~~~  에서 1이 나오구요..)
  /etc/sysconfig/network-scripts/ifcfg-eth0
 DEVICE=eth0
ONBOOT=no
BOOTPROTO=dhcp
  /etc/sysconfig/network-scripts/ifcfg-eth1
 DEVICE=eth1
IPADDR=192.168.10.1
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BRODCAST=192.168.10.255
ONBOOT=yes
BOOTPROTO=none
   ifconfig
 eth0 Link encap:Ethernet HWaddr 00:10:A7:1C:3F:3B
     UP BRODCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:11 errors:0 dropped:0 overruns:0 frame:0
     tx packets:11 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:100
     RX bytes:660 ( 660.0 b) TX bytex:660 (660.0 b)
     Inerrupt:5 Base address:0x8000
 eth1 Link encap:Ethernet HWaddr 00:E0:4C:76:13:5F
     inet addr:192.168.10.1  Bcast:192.168.10.255 Mask:255.255.255.0
     UP BRODCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:10 errors:0 dropped:0 overruns:0 frame:0
     tx packets:11 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:100
     RX bytes:858 (858.0 b) TX bytex:990 (990.0 b)
     Inerrupt:9 Base address:0xa000
 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:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)
 ppp0 Link encap:Point-to-Point Protocol
     inet addr:211.229.33.167  P-t-P:211.229.33.1 Mask:255.255.255.255
     UP POINTPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
     RX packets:3 errors:0 dropped:0 overruns:0 frame:0
     TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:3
     RX bytes:30 (30.0 b)  TX bytes:30 (30.0 b)
   route
 Kernel IP routing table
Destination     Gateway        Genmask        Flags  Metric   Ref  Use  Iface
211.229.33.1      *         255.255.255.255     UH     0       0    0    ppp0
192.168.10.0      *         255.255.255.0       U      0       0    0    eth1
127.0.0.0         *         255.0.0.0           U      0       0    0    lo
dafault      211.229.33.1   0.0.0.0             UG     0       0    0    pppoe--최준석
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved