|
News,
Internal,
Projects,
Home Software, Support, Documentation |
rl0의 외부 IP와 em0에 사설 IP는 없는 편이 좋겠습니다. NAT머신도 아니고... 원래는 두쪽 다 없는게 정상이지만 그렇게 되면 콘솔 조작밖에 안되니까 접속할 방향에서 한쪽만 부여하시면 됩니다. 사내 인터페이스 쪽에 사내 IP를 하나 부여해 주는 것으로 충분하겠네요. 그리고 /etc/sysctl.conf는 어떻게 지정하셨나요? 다음과 같이 하면 됩니다. (5.2.1의 경우) net.link.ether.bridge.enable=1 net.link.ether.bridge.ipfw=1 net.link.ether.bridge.config=rl0,em0 net.inet.ip.fw.one_pass=0 net.link.ether.ipfw=1 From: sin <sin@xxxxxxxxxx> Subject: [KFUG] 브릿지 설정에 대해 질문 드립니다. 꼭 좀 알려주시면 감사하겠습니다. Date: Wed, 15 Dec 2004 11:24:38 +0900 > # ifconfig > em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=3<RXCSUM,TXCSUM> > inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::207:e9ff:fe39:4b36%em0 prefixlen 64 scopeid 0x1 > ether 00:07:e9:39:4b:36 > media: Ethernet autoselect (1000baseTX <full-duplex>) > status: active > rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 211.xxx.xx.3 netmask 0xffffff00 broadcast 211.xxx.xx.255 > inet6 fe80::240:f4ff:fe27:45ee%rl0 prefixlen 64 scopeid 0x2 > ether 00:40:f4:27:45:ee > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 > faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500 > > > # cat /etc/rc.conf > defaultrouter="211.xxx.xx.1" > hostname="bsd.aaa.com" > ifconfig_rl0="inet 211.xxx.xx.3 netmask 255.255.255.0" > ifconfig_em0="inet 192.168.1.3 netmask 255.255.255.0" > inetd_enable="YES" > ipv6_enable="YES" > kern_securelevel_enable="NO" > nfs_reserved_port_only="YES" > sendmail_enable="YES" > sshd_enable="YES" > usbd_enable="NO" > _______________________________________________ > 한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트 > questions at kr.FreeBSD.org > http://www.kr.FreeBSD.org/mailman/listinfo/questions -- CHOI Junho <http://www.kr.FreeBSD.org/~cjh> cjh@[kr.]FreeBSD.org Key fingerprint = 1369 7374 A45F F41A F3C0 07E3 4A01 C020 E602 60F5 _______________________________________________ 한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트 questions at kr.FreeBSD.org http://www.kr.FreeBSD.org/mailman/listinfo/questions
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2004/12/17 02:56:24 $ |
|