[완료] 다른 nic로 패킷을 보낼 때 lo nic로 보내지말고 eth+ nic로 보내는방법 없나요?
글쓴이: visualplus / 작성시간: 화, 2009/02/17 - 4:03오후
제가 dhcrelay를 사용하려고 하는데 그냥 dhcrelay -i eth0 [dhcp서버 ip] 이런식으로 하니까
안되더군요.
dhcp 서버 리스트에 있는 ip로 보내야 된다는것까진 알았는데..
어떻게 해야 그렇게 할 수 있는지를 잘 모르겠습니다.
eth0에 pc들이 있고, eth1에 dhcp 서버가 있는데, eth0에서 패킷을 받고 eth1 ip로 보내고, 다시 eth1에서 dhcp 서버로 보내려고 하는데..
eth0에서 eth1로 패킷을 보내면 eth1로 가는게 아니고 lo 로 가서 패킷을 못받는것 같습니다.
혹시 이럴 때 lo로 패킷을 보내지 말고 eth1로 패킷을 보내는 방법 없나요?
Forums:


dhcp-forwarder 를
dhcp-forwarder 를 사용해보시지요.
별다른 네트웍지식 없이 설정파일의 지시자들만 이용해도 매우 유연하게 설정할 수 있습니다.
[bushi@rose libk]$ yum info dhcp-forwarder Loaded plugins: fastestmirror, refresh-packagekit Excluding Packages in global exclude list Finished Installed Packages Name : dhcp-forwarder Arch : i386 Version : 0.7 Release : 15.fc10 Size : 108 k Repo : installed Summary : DHCP relay agent URL : <a href="http://www.tu-chemnitz.de/~ensc/dhcp-fwd License" rel="nofollow">http://www.tu-chemnitz.de/~ensc/dhcp-fwd License</a> : GPLv2 Description: dhcp-fwd forwards DHCP messages between subnets with different : sublayer broadcast domains. It is similar to the DHCP relay agent : dhcrelay of ISC's DHCP, but has the following important features: : : * Runs as non-root in a chroot-environment : * Uses AF_INET sockets which makes it possible to filter incoming : messages with packetfilters : * The DHCP agent IDs can be defined freely : * Has a small memory footprint when using dietlibc [bushi@rose libk]$OTL
아.. 감사합니다^^
아.. 감사합니다^^ 저기에서 giaddr을 바꾸는것만 하니까 되네요^^ 감사합니다~!
댓글 달기