2013.08.20 Tuesday
▼ びぼうろくとれんらく
[ めも ]
やっつけ版
■IOS ボケだしたのか、最近よく忘れる・・・ snmp-server queue-length (物理+論理)IF数×3〜4+10〜20 ■ESXi サービスあげて、ごにょって(IP、こみゅにてーは合わせるべし) /etc/vmware/snmp.xml <?xml version="1.0"?> <config><snmpSettings><enable>true</enable><port>161</port><EnvEventSource>indications</EnvEventSource><loglevel>info</loglevel><communities>こみゅにてー</communities><targets>1.1.1.1@こみゅにてー</targets><engineid>ほげほげ</engineid></snmpSettings></config> ■8724SLがないなら、その辺に転がってるPCで(記載のIPは適当に) /etc/ppp/ppp.conf pppoe-in: set device PPPoE:em1 set timeout 0 enable lqr echo disable ipv6cp set lqrperiod 5 set mru 1492 set mtu 1492 allow mode direct # Only for use on server-side set speed sync # enable lqr echo proxy # Enable LQR and proxy-arp # enable chap pap passwdauth # Force client authentication enable chap pap disable deflate disable pred1 # set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199 # Hand out up to 100 IP numbers set ifaddr 200.255.255.254 200.255.255.101-200.255.255.200 255.255.255.0 accept dns # Allow DNS negotiation accept chap accept pap /etc/ppp/ppp.secret user1@isp.local user-1 1.1.1.1 user2@isp.local user-2 2.2.2.2 user3@isp.local user-3 3.3.3.3 user4@isp.local user-4 4.4.4.4 user5@isp.local user-5 5.5.5.5 user6@isp.local user-6 6.6.6.6 user7@isp.local user-7 7.7.7.7 user8@isp.local user-8 8.8.8.8 /etc/rc.conf(のどっかに突っ込むべし) # PPPoE pppoed_enable="YES" pppoed_provider="*" pppoed_interface="em1" pppoed_flags="-l pppoe-in -P /var/run/pppoed.pid" gateway_enable="YES" ログは適当に(事前テスト用だからsyslogでいいかと) |