>> Read No. 41248 article  
이렇게 구성되어있습니다.....꼭 봐주세요...제발..
플리즈

등록 2002-01-29 20:33:00     조회 1
이름 나그네    

		저의 시나리오는
 adsl 한국통신 -----> 리눅스 eth0
                            eth1 -----------> 허브 ----> win98
                                               |---------> win2000
 리눅스에 랜카드 2개 설치해서 한개는 한국통신 인터넷 담당
한개는 내부 사설 이더넷 담당 하는것입니다.
그리고 win98에서 인터넷도 되고요.....
 현재 시스템은 레드헛 7.2 입니다...
 rp-pppoe 버전은 rpm 으로 최신것입니다..
아래는 저의 사항입니다...
도데체 뭐가 틀린지 이해가안갑니다..
----------------------------
 #cat ifcfg-eth0
 DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.1     <------ 여기 ip 없애 주기도 하였습니다.
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
 [root@localhost network-scripts]# cat ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.3
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
 [root@localhost network-scripts]# cat network
NETWORKING=yes
#HOSTNAME=localhost.localdomain
GATEWAY=192.168.0.1
FORWARD_IPV4=yes 
GATEWAYDEV=eth0
 [root@localhost sysconfig]# lsmod
Module                  Size  Used by
ipt_MASQUERADE          1664   1  (autoclean)
iptable_nat            16528   0  (autoclean) [ipt_MASQUERADE]
ip_conntrack           15824   1  (autoclean) [ipt_MASQUERADE iptable_nat]
ip_tables              10944   4  [ipt_MASQUERADE iptable_nat]
usb-uhci               20640   0  (unused)       
usbcore                49792   1  [usb-uhci]
ext3                   61936   3
jbd                    38976   3  [ext3]
인텔,리얼텍 랜카드는 lsmod 에 올라왔습니다....
캡춰를 잘못 받아서.....
 통과
------------
 [root@localhost sysconfig]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
 echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 부팅될때 마다 iptable 실행 시켜라..
 [root@localhost sysconfig]# cat resolv.conf
nameserver 168.126.63.1
nameserver 168.126.63.2
search localhost
 [root@localhost etc]#
 ------------------------------
아래는 adsl 셋업 방법입니다.
 # adsl-setup
Welcome to the Roaring Penguin ADSL client setup.  First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...
 Looks good!  Now, please enter some information:
 USER NAME
 >>> Enter your PPPoE user name (default maginga): maginga <---- 실재 아님
                                                     보안상
INTERFACE
 >>> Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default eth0): eth0   <-------- eth0 카드를 인터넷연결용 으로 쓴다
 Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped.  If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses.  You may have some problems with demand-activated links.
>>> Enter the demand value (default no):
 DNS
 Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: 168.126.63.1 <-- 한국통신 dns
Please enter the IP address of your ISP's secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
>>> Enter the secondary DNS server address here: 168.126.63.2
                                       한국통신 2차 dns
PASSWORD
 >>> Please enter your PPPoE password:XXXX   
>>> Please re-enter your PPPoE password:XXXX
 FIREWALLING
 Please choose the firewall rules to use.  Note that these rules are
very basic.  You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security.  If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself.  Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc.  If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.
 The firewall choices are:
0 - NONE: This script will not set any firewall rules.  You are responsible
          for ensuring the security of your machine.  You are STRONGLY
          recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
                for a LAN
>>> Choose a type of firewall (0-2): <----- 여기서 몇번을 선택해줘야 하나요?
저는 1번과 2번 같은데....
 ** Summary of what you entered **
 Ethernet Interface: eth0
User name:          maginga
Activate-on-demand: No
Primary DNS:       168.126.63.1
Secondary DNS:     168.126.63.2
Firewalling:       STANDALONE
 >>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/resolv.conf
  (But first backing it up to /etc/resolv.conf-bak)
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
  (But first backing it up to /etc/ppp/pap-secrets-bak)
  (But first backing it up to /etc/ppp/chap-secrets-bak)
   Congratulations, it should be all set up!
 Type 'adsl-start' to bring up your ADSL link and 'adsl-stop' to bring
it down.  Type 'adsl-status' to see the link status.
[root@localhost root]# adsl-start
...Connect ...
 연결되었는데......왜 인터넷이 안되냐구요?
 케이블도 크로스 케이블로 하고 제가 네트워크 일좀 해서 좀 압니다...
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.78 초 ] 작업시간: [ 0.04 초 ]

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

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1792187146
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.