Display the routing table in either Windows or Ubuntu Hiển thị bảng định tuyến trong hoặc Windows hoặc Ubuntu
From a command prompt or terminal window, run this command: Từ một cửa sổ "command prompt hoặc terminal, chạy lệnh này:
netstat -rn netstat-rn
You should see output that looks similar to this: Bạn sẽ thấy đầu ra trông giống như sau:
Kernel IP routing table Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface Điểm đến Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

Daily Email Updates Email cập nhật hàng ngày
You can get our how-to articles in your inbox each day for free. Bạn có thể làm thế nào chúng tôi vào các bài viết trong hộp thư của bạn mỗi ngày miễn phí. Just enter your name and email below: Chỉ cần nhập tên và email của bạn dưới đây:



This is not working on Windows XP. Đây không phải làm việc trên Windows XP. The correct option is “netstat -r” Các tùy chọn đúng là "netstat-r"
in what file does the routing table sit in Ubuntu trong những tập tin nào trong bảng định tuyến ngồi trong Ubuntu
Kanakan> You said that without testing it… didn't you? Kanakan> Bạn nói rằng nếu không có thử nghiệm nó ... đã không bạn? Big mistake. Sai lầm lớn.
Well the connection says its connected but The laptop will not go on line I Enabled the network sharing on the broad band connection but the laptop ( Ubuntu 8.04 ) is not getting on line . Cũng kết nối nói của nó nhưng kết nối của máy tính xách tay sẽ không đi trên đường tôi Bật sự chia sẻ trên mạng kết nối băng rộng, nhưng các máy tính xách tay (Ubuntu 8,04) là không nhận được trên đường. . . Using a RJ – 45 connection between them Sử dụng một RJ - 45 kết nối giữa chúng
I did test this. Tôi đã làm thử nghiệm này.
C:\Documents and Settings\xyz>netstat -m C: \ Documents and Settings \ xyz> netstat-m
Displays protocol statistics and current TCP/IP network connections. Hiển thị các giao thức thống kê và hiện nay TCP / IP, kết nối mạng.
NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval] NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [khoảng]
-a Displays all connections and listening ports. -a Hiển thị tất cả các kết nối và cổng lắng nghe.
-b Displays the executable involved in creating each connection or -b Hiển thị thực thi liên quan đến việc tạo ra mỗi kết nối hoặc
listening port. nghe cổng. In some cases well-known executables host Trong một số trường hợp nổi tiếng thực thi chủ
multiple independent components, and in these cases the nhiều thành phần độc lập, và trong những trường hợp này
sequence of components involved in creating the connection trình tự của các thành phần tham gia vào việc tạo ra sự kết nối
or listening port is displayed. hoặc cổng nghe được hiển thị. In this case the executable Trong trường hợp này là thực thi
name is in [] at the bottom, on top is the component it called, Tên là trong [] ở phía dưới, trên đầu trang là thành phần được gọi là nó,
and so forth until TCP/IP was reached. và vv cho đến khi TCP / IP đã đạt được. Note that this option Lưu ý rằng tùy chọn này
can be time-consuming and will fail unless you have sufficient có thể tốn thời gian và sẽ không trừ khi bạn có đủ
permissions. quyền.
-e Displays Ethernet statistics. -e Displays Ethernet thống kê. This may be combined with the -s Điều này có thể được kết hợp với-s
option. tùy chọn.
-n Displays addresses and port numbers in numerical form. -n Hiển thị địa chỉ và số cổng ở dạng số.
-o Displays the owning process ID associated with each connection. -o Hiển thị quá trình sở hữu ID kết nối liên kết với nhau.
-p proto Shows connections for the protocol specified by proto; proto -p proto truyền hình kết nối cho các giao thức được chỉ định bởi proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. có thể là bất kỳ: TCP, UDP, TCPv6, hoặc UDPv6. If used with the -s Nếu sử dụng với-s
option to display per-protocol statistics, proto may be any of: tùy chọn để hiển thị mỗi số liệu thống kê giao thức, proto có thể là bất kỳ:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6. IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, hoặc UDPv6.
-r Displays the routing table. -r Hiển thị bảng định tuyến.
-s Displays per-protocol statistics. -s Displays per-thống kê giao thức. By default, statistics are Theo mặc định, thống kê được
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; hiển thị cho IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, và UDPv6;
the -p option may be used to specify a subset of the default. -p các tùy chọn có thể được sử dụng để xác định một tập hợp con của mặc định.
-v When used in conjunction with -b, will display sequence of -v Khi sử dụng kết hợp với-b, sẽ hiển thị chuỗi
components involved in creating the connection or listening thành phần tham gia vào việc tạo ra các kết nối hoặc lắng nghe
port for all executables. cổng cho tất cả các file thực thi.
interval Redisplays selected statistics, pausing interval seconds khoảng Redisplays thống kê chọn, tạm dừng giây khoảng
between each display. giữa mỗi hiển thị. Press CTRL+C to stop redisplaying Nhấn phím Ctrl + C để dừng redisplaying
statistics. thống kê. If omitted, netstat will print the current Nếu bỏ qua, netstat sẽ in the current
configuration information once. thông tin cấu hình một lần.
C:\Documents and Settings\xyz>netstat -r C: \ Documents and Settings \ xyz> netstat-r
Route Table Bảng lộ
=========================================================================== ================================================== =========================
Interface List Giao diện Danh sách
0×1 ……………………… MS TCP Loopback interface 0 × 1 ... ... ... ... ... ... ... ... ... MS TCP Loopback interface
0×2 …00 1c c4 20 9b 38 …… Realtek RTL8169/8110 Family Gigabit Ethernet NIC – Packet Scheduler Miniport 0 × 2 ... 00 1c c4 20 9b 38 ... ... Realtek RTL8169/8110 Family Gigabit Ethernet NIC - Packet Scheduler Miniport
=========================================================================== ================================================== =========================
=========================================================================== ================================================== =========================
Active Routes: Tuyến đường đang hoạt động:
Network Destination Netmask Gateway Interface Metric Điểm đến mạng Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 212.124.45.62 212.124.45.37 20 0.0.0.0 0.0.0.0 212.124.45.62 212.124.45.37 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
212.124.45.32 255.255.255.224 212.124.45.37 212.124.45.37 20 212.124.45.32 255.255.255.224 212.124.45.37 212.124.45.37 20
212.124.45.37 255.255.255.255 127.0.0.1 127.0.0.1 20 212.124.45.37 255.255.255.255 127.0.0.1 127.0.0.1 20
212.124.45.255 255.255.255.255 212.124.45.37 212.124.45.37 20 212.124.45.255 255.255.255.255 212.124.45.37 212.124.45.37 20
224.0.0.0 240.0.0.0 212.124.45.37 212.124.45.37 20 224.0.0.0 240.0.0.0 212.124.45.37 212.124.45.37 20
255.255.255.255 255.255.255.255 212.124.45.37 212.124.45.37 1 255.255.255.255 255.255.255.255 212.124.45.37 212.124.45.37 1
Default Gateway: 212.124.45.62 Default Gateway: 212.124.45.62
=========================================================================== ================================================== =========================
Persistent Routes: Persistent Routes:
None Không cái nào
They wrote -r -n (-rn) you interpreted it as an m thus it did not work Họ đã viết-r-n (-rn) bạn hiểu nó như một m do đó nó không làm việc
Cheers, Chúc mừng,
JRM JRM
I got it connected by changing the Network address in the RJ-45 ( network card in windows ) Tôi đã nhận nó được kết nối bằng cách thay đổi địa chỉ mạng trong các RJ-45 (mạng thẻ trong cửa sổ)
to 192.168.1.2 . đến 192.168.1.2. . . You get to it by right clicking on the network connection and go down to “Properties” then when it comes up click on “Configure” next to the ( brand of network connection ) and it opens another Item go to “Advanced” and in the “Network Address” add the above 192.168.1.2 Linux will have already made the connection from its end . Bạn nhận được để nó bằng cách nhấp chuột vào bên phải kết nối mạng và đi xuống "Properties" sau đó khi nói lên click vào "Cấu hình" bên cạnh các thương hiệu (của kết nối mạng) và nó sẽ mở ra một khoản vào "Nâng cao" và trong "Địa chỉ Mạng" gắn trên Linux sẽ 192.168.1.2 đã được kết nối từ cuối cùng của nó. . . Its windows which has problems doing much of any networking and is the biggest Problem of computers Cửa sổ của nó đã làm nhiều vấn đề của mạng nào và là vấn đề lớn nhất của máy tính
Do you know I am able to do 2 X the speed of the speed on the windows computer going out the door via the RJ-45 connection and same fire wall ! Bạn có biết tôi có thể làm 2 X tốc độ của tốc độ trên máy tính đi ra ngoài cửa sổ cửa thông qua RJ-45 kết nối và tường lửa cùng! Down load same file same web site in 1/2 the time in Linux . Down load trang web cùng một tập tin tương tự trong 1 / 2 thời gian trong Linux. . . 1 in Ubuntu Linux , 1 in windows XP Pro ! 1 trong Ubuntu Linux, 1 trong cửa sổ XP Pro! Explain that one ! Giải thích rằng một! Same USB720 Verizon Modem Linux hits 2.9 megs per and windows if its lucky gets 1.3 megs per . Cùng Verizon USB720 Modem Linux hits 2,9 megs per và cửa sổ của nó nếu may mắn được 1,3 megs per. . . WHY ? TẠI SAO?
I heard they totally re-wrote the Stack in Vista and still slow ( LMAO ) Tôi nghe nói họ hoàn toàn tái đã viết Stack trong Vista và vẫn còn chậm (LMAO)
lol I thought it was an 'm' too! lol Tôi nghĩ rằng nó là một 'm' quá!
Routing info you can also get with the commands “ipconfig” (Windows) and “ifconfig” (Linux). Thông tin định tuyến, bạn cũng có thể nhận được với các lệnh "ipconfig" (Windows) và "ifconfig" (Linux).
Also in Linux try “iptables -L” to see the routing (and firewall) rules. Cũng trong Linux thử "iptables-L" để xem định tuyến (và tường lửa) quy định.
Lynne, I get the same speed whether I use Windows XP, Windows Vista, Ubutu, or SLED. Lynne, tôi nhận được tốc độ như nhau cho dù tôi sử dụng Windows XP, Windows Vista, Ubutu, hoặc SLED. ~8Mb/s. ~ 8Mb / s.
That is the limit that my ISP has imposed on me because of my lack of desire to spend more money per month. Đó là giới hạn mà ISP của tôi đã áp đặt vào tôi vì tôi thiếu mong muốn chi tiêu nhiều tiền hơn mỗi tháng.
I wonder if it might have something to do with the fact that you're using a USB modem? Tôi tự hỏi nếu nó có thể có cái gì để làm với thực tế rằng bạn đang sử dụng một modem USB? USB and Windows never really got along well… USB và Windows không bao giờ thực sự đã cùng cũng ...
Hmm, actually, you say RJ-45, but the modem you list is USB wireless only… I dunno. Hmm, thực sự, bạn nói RJ-45, nhưng modem bạn danh sách là USB không dây chỉ ... I dunno.