Michał P.

Michał P. petrochemia

Temat: brak pingu

MAm domową sieć:

internet--eth0(DHCP)-- ubuntu7.04(192.168.0.1)--eth1--winXP(192.168.0.254)

ubuntu i xp nie widzą się
udostępnianie łącza w ubuntu poprzez Firestarter.

lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0c.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)

ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BA:CF:80:A8
inet addr:87.207.202.161 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::250:baff:fecf:80a8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6732 errors:0 dropped:0 overruns:0 frame:3
TX packets:834 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:726545 (709.5 KiB) TX bytes:135196 (132.0 KiB)
Interrupt:16 Base address:0xec00

eth1 Link encap:Ethernet HWaddr 00:0B:6A:90:2B:AE
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:fe90:2bae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:4479 (4.3 KiB)
Interrupt:17 Base address:0xd800

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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:672 (672.0 b) TX bytes:672 (672.0 b)

cat /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0

Za wszelkie porady będę bardzo wdzięczny.
Googlowałem, szukałem po forach i nadal nie wiem co jest grane :(Michał P. edytował(a) ten post dnia 16.01.08 o godzinie 21:05
Krzysztof Królikowski

Krzysztof Królikowski
Administrator/progra
mista, Axel Springer
Polska

Temat: brak pingu

na początek pokaż:

cat /proc/sys/net/ipv4/ip_forward
route -n
arp -n
iptables-save

Najlepiej wykonaj te polecenia z użtkownika root.
Michał P.

Michał P. petrochemia

Temat: brak pingu

# cat /proc/sys/net/ipv4/ip_forward
0
--------------------------------------
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
87.207.202.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 1000 0 0 eth0
0.0.0.0 87.207.202.1 0.0.0.0 UG 0 0 0 eth0
------------------------------------------------------------------------------
# arp -n
Address HWtype HWaddress Flags Mask Iface
87.207.202.1 ether 00:19:A9:6A:9C:01 C eth0
------------------------------------------------------------------------# iptables-save
# Generated by iptables-save v1.3.6 on Wed Jan 16 21:43:47 2008
*mangle
:PREROUTING ACCEPT [429:304345]
:INPUT ACCEPT [427:303579]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [446:79530]
:POSTROUTING ACCEPT [411:74348]
COMMIT
# Completed on Wed Jan 16 21:43:47 2008
# Generated by iptables-save v1.3.6 on Wed Jan 16 21:43:47 2008
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [5:420]
:INBOUND - [0:0]
:LOG_FILTER - [0:0]
:LSI - [0:0]
:LSO - [0:0]
:OUTBOUND - [0:0]
-A INPUT -s 62.179.1.60 -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
-A INPUT -s 62.179.1.60 -p udp -j ACCEPT
-A INPUT -s 62.179.1.61 -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
-A INPUT -s 62.179.1.61 -p udp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp -m limit --limit 10/sec -j ACCEPT
-A INPUT -d 255.255.255.255 -i eth0 -j DROP
-A INPUT -d 255.255.255.255 -j DROP
-A INPUT -s 224.0.0.0/255.0.0.0 -j DROP
-A INPUT -d 224.0.0.0/255.0.0.0 -j DROP
-A INPUT -s 255.255.255.255 -j DROP
-A INPUT -d 0.0.0.0 -j DROP
-A INPUT -m state --state INVALID -j DROP
-A INPUT -f -m limit --limit 10/min -j LSI
-A INPUT -i eth0 -j INBOUND
-A INPUT -j LOG_FILTER
-A INPUT -j LOG --log-prefix "Unknown Input" --log-level 6
-A FORWARD -p icmp -m limit --limit 10/sec -j ACCEPT
-A FORWARD -j LOG_FILTER
-A FORWARD -j LOG --log-prefix "Unknown Forward" --log-level 6
-A OUTPUT -s 87.207.202.161 -d 62.179.1.60 -p tcp -m tcp --dport 53 -j ACCEPT
-A OUTPUT -s 87.207.202.161 -d 62.179.1.60 -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -s 87.207.202.161 -d 62.179.1.61 -p tcp -m tcp --dport 53 -j ACCEPT
-A OUTPUT -s 87.207.202.161 -d 62.179.1.61 -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -s 224.0.0.0/255.0.0.0 -j DROP
-A OUTPUT -d 224.0.0.0/255.0.0.0 -j DROP
-A OUTPUT -s 255.255.255.255 -j DROP
-A OUTPUT -d 0.0.0.0 -j DROP
-A OUTPUT -m state --state INVALID -j DROP
-A OUTPUT -o eth0 -j OUTBOUND
-A OUTPUT -j LOG_FILTER
-A OUTPUT -j LOG --log-prefix "Unknown Output" --log-level 6
-A INBOUND -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INBOUND -p udp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INBOUND -j LSI
-A LSI -j LOG_FILTER
-A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m limit --limit 1/sec -j LOG --log-prefix "Inbound " --log-level 6
-A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j DROP
-A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK RST -m limit --limit 1/sec -j LOG --log-prefix "Inbound " --log-level 6
-A LSI -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK RST -j DROP
-A LSI -p icmp -m icmp --icmp-type 8 -m limit --limit 1/sec -j LOG --log-prefix "Inbound " --log-level 6
-A LSI -p icmp -m icmp --icmp-type 8 -j DROP
-A LSI -m limit --limit 5/sec -j LOG --log-prefix "Inbound " --log-level 6
-A LSI -j DROP
-A LSO -j LOG_FILTER
-A LSO -m limit --limit 5/sec -j LOG --log-prefix "Outbound " --log-level 6
-A LSO -j REJECT --reject-with icmp-port-unreachable
-A OUTBOUND -p icmp -j ACCEPT
-A OUTBOUND -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTBOUND -p udp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTBOUND -j ACCEPT
COMMIT
# Completed on Wed Jan 16 21:43:47 2008
-------
Michał P.

Michał P. petrochemia

Temat: brak pingu

xubuntu 6.06 - łopatologicznie :))))

Następna dyskusja:

Extreme 2 - brak mozliwosci...




Wyślij zaproszenie do