Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mit Gateway
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Moartel
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2004
Posts: 127
Location: Regensburg, Germany

PostPosted: Thu Dec 30, 2004 10:15 am    Post subject: Problem mit Gateway Reply with quote

Ich habe hier meinen Laptop (Gentoo), der über den Desktop (Win2k mit JanaServer) auf das Internet zugreifen soll. Eigentlich hat das schon mal funktioniert, aber jetzt mag es überhaupt nicht mehr. Einen Fehler vom Jana-Proxy schließe ich aus. Habe mich beim einrichten an das Gentoo-Handbuch gehalten. Leider komme ich mit route gar nicht mehr klar. Hier mal ein paar genaue Infos:
IP Laptop: 172.230.230.37 (Netmask 255.255.255.0, Hostname: moartl)
IP Desktop: 172.20.230.38 (Netmask 255.255.255.0, Hostname: moartel)

ifonfig gibt mir:
Code:

eth0    Link encap:Ethernet  HWaddr 00:00:E2:6E:35:F2
        inet addr:172.20.230.37  Bcast:172.20.230.255 Mask:255.255.255.0
        UP BRAODCAST MULTICAST  MTU:1500 Metric:1
        RX packets:5 errors:0 dropped:0 overruns:0 frame:0
        TX packets:14 errors:0 dropped:0 overruns:0 frame:0
        collisions:0 txqueuelen:1000
        RX bytes:452 (452.0 b) TX bytes:992 (992.0 b)
        Interrupt:11 Base address:0xc000

lo      Linkencap:Local Loopback
        inet addr:127.0.0.1  Mask 255.0.0.0
        UPLOOPBACK 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:896 (896.0 b) TX bytes:896 (896.0 b)


route:
Code:

Kernel IP routing table
Destination    Gateway   Genmask         Flags Metric Ref   Use Iface
172.20.230.0   *         255.255.255.0   U     0      0     0   eth0
loopback       moartl    255.0.0.0       UG    0      0     0   lo
default        moartel   0.0.0.0         UG    0      0     0   eth0


/etc/hosts
Code:

127.0.0.1           moartl      moartl.home    localhost
172.20.230.38    moartel


/etc/conf.d/net
Code:

iface_eth0="172.20.230.37 broadcast 172.20.230.255 netmask 255.255.255.0"
gateway="eth0/172.20.230.38"
Back to top
View user's profile Send private message
muecke
n00b
n00b


Joined: 16 Oct 2004
Posts: 46

PostPosted: Thu Dec 30, 2004 1:11 pm    Post subject: Reply with quote

Kannst du auf eine IP Adresse eines Internet Server pingen??
_________________
PC1 Intel Pentium II 400 Gentoo 2.4.27
Labtop HD1 Intel Pentium 4 2G Gentoo 2.6.1 Nvidia
HD2 Gentoo 2.6.9-r1 Nvidia
Back to top
View user's profile Send private message
Moartel
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2004
Posts: 127
Location: Regensburg, Germany

PostPosted: Thu Dec 30, 2004 5:07 pm    Post subject: Reply with quote

Nein, kann ich nicht. Kann aber den Desktop pingen.
Back to top
View user's profile Send private message
Latio
n00b
n00b


Joined: 30 Dec 2004
Posts: 4

PostPosted: Thu Dec 30, 2004 11:06 pm    Post subject: Reply with quote

hallo, habe das gleiche (ähnliche) Problem

Will auf Laptop Gentoo mit Hilfe der Minimal Live CD 2004.3 installieren. Netzwerkkarte hab ich mit net-setup konfiguriert. Proxy läuft auf 2. Rechner(Win 98 SE Recher. Proxy funktioniert auch, habe das unter win getestet)

Meine IP-Adresse 192.168.12.88 (laptop)
Netzmaske 255.255.255.0
Broadcast-Adresse 192.168.12.255
Gateway 192.168.12.12 (Adresse von Rechner mit Proxy)
Nameserver ebenfalls eingetragen

Proxy gesetzt:
# export http_proxy="192.168.12.12:8080¨
# export ftp_proxy="192.168.12.12:8080"

Routing:
# route add default gw 192.168.12.12

Die Netzwerkkarte funktioniert auch, kann anderen Rechner anpingen, kann aber weder auf das Internet zugreifen noch ip-Adresse aus dem internet anpingen.
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Thu Dec 30, 2004 11:56 pm    Post subject: Reply with quote

Routing ist aktiviert?
Back to top
View user's profile Send private message
Latio
n00b
n00b


Joined: 30 Dec 2004
Posts: 4

PostPosted: Fri Dec 31, 2004 4:15 pm    Post subject: Reply with quote

wüsste jetzt nicht, dass man das routing nochmal extra aktivieren muss.
oder wie ist das gemeint?
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Fri Dec 31, 2004 4:53 pm    Post subject: Reply with quote

Latio wrote:
wüsste jetzt nicht, dass man das routing nochmal extra aktivieren muss.
oder wie ist das gemeint?
Das beantwortet die Frage nicht. Ist Routing aktiviert oder nicht?

Gruß,
/dev
Back to top
View user's profile Send private message
tux2
Apprentice
Apprentice


Joined: 09 Jun 2004
Posts: 172
Location: Germany

PostPosted: Fri Dec 31, 2004 5:07 pm    Post subject: Reply with quote

Quote:

/etc/hosts

Code:

127.0.0.1           moartl      moartl.home    localhost
172.20.230.38    moartel




aender die datei mal weng um:

Code:

127.0.0.1   localhost
172.20.230.37  moartl.home moartl
172.20.230.38  moartel


danach deine route nochmals neu setzen.
Back to top
View user's profile Send private message
Latio
n00b
n00b


Joined: 30 Dec 2004
Posts: 4

PostPosted: Wed Jan 05, 2005 5:40 pm    Post subject: Reply with quote

Quote:
aender die datei mal weng um:


die datei ist noch auf der CD, ohne Netzwerk kein Internet, kein Installieren...Was mach ich da?

Routing sollte durch die Eingabe des Route-Befehls aktiviert sein, oder nicht?
Wenn ja, dann isses aktiv, wenn ich noch mehr dazu machen muss, isses nicht aktiv...

Latio
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Wed Jan 05, 2005 5:49 pm    Post subject: Reply with quote

Routing muss nur auf dem Gateway aktiv sein. Da es sich dabei aber um einen Windoof-rechner handelt geht das erstmal nicht so einfach.

Daher wohl auch der Proxy. Und wenn er nur den Proxy nimmt, dann brauch auch kein Routing an sein. Es reicht wenn der Proxy richtig konfiguriert ist.
Dort würde ich ansetzen.
Log-datei des Proxys checken ob was ankommt.
in links2 gucken ob der proxy auch wirklich genommen wird.

Ich selber habe keinen Proxy, aber im Handbuch steht was von http:// ...

vielleicht mal das http:// hinzufügen.
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
Latio
n00b
n00b


Joined: 30 Dec 2004
Posts: 4

PostPosted: Wed Jan 05, 2005 10:29 pm    Post subject: Reply with quote

hmmm. habe also in links2 unter netzwerkeinstellungen oder so ein zweites mal den proxy eingetragen...damit hat wenigstens links2 gefunzt und ich konnte mit der installation anfangen. aber eben nur links2, internet anpingen ging immernoch nicht...da muss noch irgendwas nicht geklappt haben...

Latio
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Wed Jan 05, 2005 11:05 pm    Post subject: Reply with quote

pingen geht auch nicht über proxy.
Ein proxy ist eben kein Router. Der proxy "cached" nur deine http request und antworten des Servers und schickt sie an dich bzw. den Server weiter.
Daher ist das aufgabenfeld eines proxy ein ganz anderes als das eines routers.
Ein router leitet IP/UDP pakete weiter, ein proxy dagegen http anfragen (ja, es gibt auch proxy für andere dienste, aber die gängistens sind eben http proxys)

Daher kannst du mit links2 download aber nicht pingen. Das ist also ganz normal.

Wenn du pingen willst brauchst du nen router. Am besten mit Linux...
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum