Re: Re: performance about use Linux as a router

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>On Wed, Jul 6, 2011 at 3:59 PM, jiangtao.jit <jiangtao.jit@xxxxxxxxx> wrote:
>> dear all:
>>
>> i have a x86 PC and i use it as a router
>> the kernel is 2.6.38
>>
>> there are two NICs: eth0 and eth1
>>

>Can you show the interface configs for both the NICS and the Bridge?


dear Sunny:

these are the commands i used
1.i use      ifconfig eth0 0.0.0.0    cleared the eth0's ip
2.brctl addbr br0
3.brctl addif br0 eth0
4.ifconfig br0 10.1.0.1
5.brctl show         like 
bridge name     bridge id               STP enabled     interfaces
br0                                                no              eth0
6.route          like
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        *               255.0.0.0       U     0      0        0 br0
11.0.0.0        *               255.0.0.0       U     0      0        0 eth1
default         11.1.0.2        0.0.0.0         UG    0      0        0 eth1 

are these info useful?
thanks


---------------------

2011-07-06 
jiangtao.jit 





_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux