FastEthernet0/0 is up, line protocol is up
Hardware is MV96340 Ethernet, address is 0019.e8ba.85a8 (bia 0019.e8ba.85a8)
Description: INTERNET$FW_OUTSIDE$
Internet address is 62.87.176.206/30
MTU 1500 bytes, BW 4096 Kbit, DLY 100 usec,
reliability 255/255, txload 15/255, rxload 145/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Half-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:01, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/2/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 2343000 bits/sec, 251 packets/sec
5 minute output rate 247000 bits/sec, 163 packets/sec
14002083 packets input, 1208249654 bytes
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
14 input errors, 13 CRC, 0 frame, 0 overrun, 1 ignored
0 watchdog
0 input packets with dribble condition detected
13128442 packets output, 3190665888 bytes, 0 underruns
duplex mismatch? czyli ze co?
Interfejs jest na auto i faktycznie na innej lokalizacji nie mam collisions ani deferred a tu sa hmm ....
PIXA# sh interface ethernet0
interface ethernet0 "outside" is up, line protocol is up
Hardware is i82559 ethernet, address is 000e.d7e6.aa62
IP address A.A.A.2, subnet mask 255.255.255.224
MTU 1500 bytes, BW 100000 Kbit half duplex
348983 packets input, 248252164 bytes, 0 no buffer
Received 3749 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
219348 packets output, 28171813 bytes, 0 underruns
0 output errors, 421 collisions, 0 interface resets
0 babbles, 289 late collisions, 1034 deferred
0 lost carrier, 0 no carrier
input queue (curr/max blocks): hardware (128/128) software (0/6)
output queue (curr/max blocks): hardware (0/20) software (0/1)
wszystko pięknie... zainstalowalem sterownik karty sieciowej przez modconf, w pliku /etc/network.interfaces dopisalem:
auto eth0
iface eth0 inet dhcp
wydalem polecenie dhclient eth0, popracowal popracował i wyskoczylo:
eth0 Link encap:UNSPEC HWaddr 00-10-DC-00-00-79-57-8D-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:8 dropped:8 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:792 (792.0 b) TX bytes:792 (792.0 b)
wnioskuje ze jest cos nie tak... tak jak w temacie łącze sie przez router...
PS. wkoncu jestesmy w temacie :)
[ Dodano: 2007-01-01, 19:52 ]
aha... i dlaczego nie dziala mi polecenie:
lspci|grep Ethernet
??
bt ~ # echo 1 > /proc/sys/net/ipv4/ip_forward
bt ~ # iptables -t nat -A POSTROUTING -j MASQUERADE
bt ~ # arpspoof -i eth1 -t 192.168.1.197 192.168.1.1
arpspoof: couldn't arp for host 192.168.1.197
bt ~ # ifconfig
eth1 Link encap:Ethernet HWaddr 00:0F:34:42:D5:A7
inet addr:192.168.1.197 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:34ff:fe42:d5a7/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7343 errors:342732 dropped:0 overruns:0 frame:342732
TX packets:4571 errors:79 dropped:0 overruns:0 carrier:79
collisions:6970 txqueuelen:1000
RX bytes:2241221 (2.1 MiB) TX bytes:547855 (535.0 KiB)
Interrupt:3 Base address:0x180
Dalej cos nie chce pojsc:confused: hmm a te ip inet addr.192.168.1.197 pokazuje moje IP czy IP AP do ktorego aktualnie jestem podlaczony?Bo jak to moje ip to wszystko jasne:):)
OK podałeś :
Cytat:
[root@localhost xzibit]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0A:E6:64:55:7B
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xe800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Coś jakby lepiej, już mamy eth0.
Ale co z konfiguracją przez drakconnect i nasze ulubione noapic i nolapic w lilo, które podałem jak wprowadzić w trybie graficznym.
@ marmal,
No popatrz ludzie się uczą obsługi forum ;)
zanotowane.pldoc.pisz.plpdf.pisz.plwpserwis.htw.pl
|