{"id":1852,"date":"2016-08-22T06:29:02","date_gmt":"2016-08-21T21:29:02","guid":{"rendered":"http:\/\/stuffy.dip.jp\/wordpress\/?p=1852"},"modified":"2017-05-29T16:15:56","modified_gmt":"2017-05-29T07:15:56","slug":"make-eth1-bridge-mode","status":"publish","type":"post","link":"https:\/\/www.stuffy.site\/wordpress\/?p=1852","title":{"rendered":"SoftEther VPN \u30d6\u30ea\u30c3\u30b8\u306e\u4f5c\u6210"},"content":{"rendered":"<p>\u65b0\u3057\u3044NIC\u3001eth1\u3092\u30d6\u30ea\u30c3\u30b8\u30e2\u30fc\u30c9\u306b\u3057\u3066SoftEther VPN\u7ba1\u7406\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304b\u3089\u4eee\u60f3HUB\u3068\u3057\u3066\u30d6\u30ea\u30c3\u30b8\u3092\u8ffd\u52a0\u3057\u305f\u3068\u3053\u308d\u3001Andorid\u304b\u3089L2TP\/IPSec\u63a5\u7d9a\u3057\u3066\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>eth1\u3092\u30d6\u30ea\u30c3\u30b8\u30e2\u30fc\u30c9\u306b\u3059\u308b<\/p><\/blockquote>\n<p>bridge-utiles\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"># yum install bridge-utiles<\/pre>\n<p>br1\u306e\u8ffd\u52a0<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"><span style=\"font-size: 12px;\"># brctl addbr br1\r\n# brctl stp br1 off\r\n# brctl addif br1 eth1<\/span><\/pre>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092Off\u306b\u3059\u308b\uff08\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u3066\u3044\u308b\u3068\u3001\u901a\u4fe1\u304c\u5207\u308c\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u76f4\u63a5\u3001\u64cd\u4f5c\u3057\u307e\u3059\u3002\uff09<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"># service NetworkManager stop\r\n# service network stop<\/pre>\n<p>network-scripts \u306e\u4fee\u6b63\uff08\u5143\u306b\u623b\u305b\u308b\u3088\u3046\u306b\u5225\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\uff09<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"><span style=\"font-size: 12px;\"># cp \/etc\/sysconfig\/network-scripts\/ifcfg-eth1 \/home\/gusachan\/ifcfg-eth1_back<\/span><\/pre>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"><span style=\"font-size: 12px;\"># vi \/etc\/sysconfig\/network-scripts\/ifcfg-br1\r\nDEVICE=br1\r\nTYPE=Bridge\r\nSTP=no\r\nONBOOT=yes\r\nNM_CONTROLLED=yes\r\nBOOTPROTO=static\r\nGATEWAY=192.168.24.1\r\nDNS1=192.168.24.1\r\nIPADDR=192.168.24.101\r\nPREFIX=24\r\nDEFROUTE=yes\r\nPEERDNS=yes\r\nPEERROUTES=yes\r\nIPV4_FAILURE_FATAL=no\r\nIPV6_FAILURE_FATAL=no\r\nIPV6INIT=yes\r\nIPV6_AUTOCONF=yes\r\nIPV6_DEFROUTE=yes\r\nIPV6_PEERDNS=yes\r\nIPV6_PEERROUTES=yes\r\nNAME=br1<\/span><\/pre>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"><span style=\"font-size: 12px;\"># vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth1\r\nDEVICE=eth1\r\nTYPE=Ethernet\r\nBOOTPROTO=static\r\nONBOOT=yes\r\nIPV6INIT=yes\r\nIPADDR=0.0.0.0\r\nNAME=\"System eth1\"\r\nHWADDR=XX:XX:XX:XX:XX:XX\r\nBRIDGE=br1<\/span><\/pre>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"># service network restart\r\n# service NetworkManager start<\/pre>\n<p>\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u3001eth1,br1\u304c\u30d6\u30ea\u30c3\u30b8\u3068\u3057\u3066\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"><span style=\"font-size: 12px;\"># brctl show\r\nbridge name\u00a0\u00a0\u00a0\u00a0 bridge id\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 STP enabled\u00a0\u00a0\u00a0\u00a0 interfaces\r\nbr1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8000.00152a6e642c\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 no\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 eth1<\/span><\/pre>\n<p>\u7ba1\u7406\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304b\u3089[\u63a5\u7d9a\u8a2d\u5b9a\u540d]\u3092\u9078\u629e\u3057\u3066\u3001 [\u63a5\u7d9a]\u3002<br \/>\n\u7ba1\u7406\u753b\u9762\u306e[\u30ed\u30fc\u30ab\u30eb\u30d6\u30ea\u30c3\u30b8\u306e\u4f5c\u6210]\u3092\u30af\u30ea\u30c3\u30af\u3002<br \/>\n[\u4eee\u60f3HUB]\u306bVPN\u3068\u5165\u529b\u3001[\u7269\u7406\u7684\u306a\u65e2\u5b58\u306eLAN\u30ab\u30fc\u30c9\u3068\u306e\u30d6\u30ea\u30c3\u30b8\u63a5\u7d9a]\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066[LAN\u30ab\u30fc\u30c9]\u306bbr1\u3092\u9078\u629e\u3057\u3066[\u30ed\u30fc\u30ab\u30eb\u30d6\u30ea\u30c3\u30b8\u3092\u8ffd\u52a0]\u3002<br \/>\n\u540c\u3058\u304f\u3001[\u4eee\u60f3HUB]\u306bVPN\u3001[\u65b0\u3057\u3044tap\u30c7\u30d0\u30a4\u30b9\u3068\u306e\u30d6\u30ea\u30c3\u30b8\u63a5\u7d9a]\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066[\u65b0\u3057\u3044tap\u30c7\u30d0\u30a4\u30b9\u540d]\u306bVPN\u3068\u5165\u529b\u3057\u3066\u3001[\u30ed\u30fc\u30ab\u30eb\u30d6\u30ea\u30c3\u30b8\u3092\u8ffd\u52a0]\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.stuffy.site\/wordpress\/wp-content\/uploads\/2016\/08\/2016-08-20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1861\" src=\"https:\/\/www.stuffy.site\/wordpress\/wp-content\/uploads\/2016\/08\/2016-08-20.png\" alt=\"2016-08-20\" width=\"644\" height=\"596\" \/><\/a><\/p>\n<blockquote><p>eth1,br1\u3092\u30d7\u30ed\u30df\u30b9\u30ad\u30e3\u30b9\u30e2\u30fc\u30c9\u306b\u8a2d\u5b9a\u3059\u308b<\/p><\/blockquote>\n<p>eth1\u3092\u30d7\u30ed\u30df\u30b9\u30ad\u30e3\u30b9\u30e2\u30fc\u30c9\u3067\u8d77\u52d5\u3059\u308b<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"><span style=\"font-size: 12px;\"># ifconfig eth1 down\r\n# ifconfig eth1 promisc\r\n# ifconfig eth1 up<\/span><\/pre>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\"><span style=\"font-size: 12px;\"># ifconfig eth1\r\neth1   Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx\r\n          <strong>BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1<\/strong>\r\n          RX packets:23883 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:3702 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:1000\r\n          RX bytes:4576076 (4.3 MiB)  TX bytes:326466 (318.8 KiB)\r\n          Interrupt:16 Memory:f7ea0000-f7ec00001<\/span><\/pre>\n<p>\u53c2\u8003URL<br \/>\nhttps:\/\/ja.softether.org\/4-docs\/1-manual\/3\/3.6<br \/>\nttps:\/\/uehatsu.info\/tech\/wordpress\/2013\/06\/how-to-setup-bridge-ethernet-interface-on-centos-6.4.html<\/p>\n<p>ttp:\/\/www.jifu-labo.net\/2015\/11\/softether_ipsec\/<\/p>\n<p>\u53c2\u8003URL http:\/\/www.suzu841.com\/tools.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u3057\u3044NIC\u3001eth1\u3092\u30d6\u30ea\u30c3\u30b8\u30e2\u30fc\u30c9\u306b\u3057\u3066SoftEther VPN\u7ba1\u7406\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304b\u3089\u4eee\u60f3HUB\u3068\u3057\u3066\u30d6\u30ea\u30c3\u30b8\u3092\u8ffd\u52a0\u3057\u305f\u3068\u3053\u308d\u3001Andorid\u304b\u3089L2TP\/IPSec\u63a5\u7d9a\u3057\u3066\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3057\u305f\u3002 eth &hellip; <a href=\"https:\/\/www.stuffy.site\/wordpress\/?p=1852\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">SoftEther VPN \u30d6\u30ea\u30c3\u30b8\u306e\u4f5c\u6210<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3,21,6,55],"tags":[],"class_list":["post-1852","post","type-post","status-publish","format-standard","hentry","category-hardware","category-linux","category-nic","category-settings","category-vpn"],"_links":{"self":[{"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1852"}],"version-history":[{"count":26,"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1852\/revisions"}],"predecessor-version":[{"id":2218,"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1852\/revisions\/2218"}],"wp:attachment":[{"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stuffy.site\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}