HGIGA Service Docs 
» ¹C«È:  µù¥U | µn¿ý | ²Î­p | À°§U
RSS ­q¾\·í«e½×¾Â  

¤W¤@¥DÃD ¤U¤@¥DÃD
       
¼ÐÃD: PKS¦w¸Ëµ§°O  
  ¥»¥DÃD¥Ñ service.support ©ó 2008-10-16 11:26 ²¾°Ê 
 
tptc
¸Ó¥Î¤á¤w³Q§R°£









PKS¦w¸Ëµ§°O

*** §@ªÌ³Q¸T¤î©Î§R°£ ¤º®e¦Û°Ê«Ì½ª ***
2006-9-7 10:05#1
³»³¡
 
service.support





UID 14
ºëµØ 0
¿n¤À 0
©«¤l 523
¾\ŪÅv­­ 200
µù¥U 2006-10-2
ª¬ºA Â÷½u
¦^´_ #1 ªº©«¤l

PKS ¥D¾÷¤W¦³¤G±iºô¥d¡A¤À§O¬° eth0¡Beth1
¦b /etc/rc.d/rc.local ¤W¥[¤J
brctl addbr fr0
brctl addif fr0 eth0
brctl addif fr0 eth1   =>±Neth0»Peth1³]¦¨bridge¼Ò¦¡
service network restart   => ­«·s±Ò°Êºô¥d¡A¦]ºô¥d¦b°õ¦ærc.local«e¤w¸g±Ò°Ê¡A¨Ã¨S¦³¸ü¤Jrc.localùتº³]©w¡A¬G­«·s±Ò°Ê¸ü¤J·sªº³]©w

¥Hbrctl show«ü¥O¬d¬Ý¬O§_¦³±N¨â±iºô¥d¥[¤J¨Ó¡G
bridge name     bridge id               STP enabled     interfaces
fr0                                                                    eth0
fr0                                                                    eth1

±Nºô¥d³]¬° promisc
ifconfig eth0 promisc
ifconfig eth1 promisc

­×§ïºô¥d¤¶­±
ifcfg-eth0

DEVICE=eth0
IPADDR=0.0.0.0
ONBOOT=yes
BOOTPROTO=static



ifcfg-eth1

DEVICE=eth1
IPADDR=0.0.0.0
ONBOOT=yes
BOOTPROTO=static



#vi /etc/sysconfig/network-scripts/ifcfg-fr0

DEVICE=fr0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.6.123
NETMASK=255.255.255.0

#vi /etc/sysconfig/network
HOSTNAME=tc.hgiga.com
GATEWAY=192.168.6.254


#service network restart

restart «á¦pªG±z¬Ý¨ì¤U¦C°T®§¡A½Ð©¿²¤¥¦
Bringing up interface eth0 SIOCSIFNETMASK: Cannot assign requested address
Delaying eth0 initialization.
SIOCSIFBRDADDR: Cannot assign requested address




¦¹¨Ò¤¤¡A§Ú­Ì­nºÊÅ¥ªººô¥d¬° eth1¡A¦Ó PKS ¹w³]ºÊÅ¥ªººô¥d¬° eth0

¬G²{¦b»Ý§ó§ï PKS ºÊÅ¥ªººô¥d¡C
³]©wÀɬ°¡G/usr/local/packetpath/bin/cache.conf

±Ninterface§ï¬°¡Geth1

¬d¬Ý¥D¾÷¤W¬O eth1 ¬O§_¦³Å¥¨ì«Ê¥]¡G
tcpdump -n -i eth1

¥ß§Y±NºÊÅ¥¨ìªº¸ê®Æ¼g¤J¸ê®Æ®w¡G
/usr/local/packetpath/bin/crontab.pl
2008-11-22 16:46#2
¬d¬Ý¸ê®Æ  Blog  µoµu®ø®§  Yahoo!  ³»³¡
       


  ¥i¥´¦Lª©¥» | ±ÀÂ˵¹ªB¤Í | ­q¾\¥DÃD | ¦¬ÂÃ¥DÃD  


 

   Powered by Discuz! 4.1.0  © 2001-2006 Transformed by wxxslt for HGIGA Inc. / Service Support
Processed in 0.019737 second(s), 9 queries , Gzip enabled

©Ò¦³®É¶¡¬° GMT+8, ²{¦b®É¶¡¬O 2024-11-23 03:30