LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2006, 08:46 AM   #16
Unicron
Member
 
Registered: Feb 2005
Distribution: Ubuntu (Dapper)
Posts: 32

Rep: Reputation: 15

Can you run
Quote:
ipconfig /all
on your laptop and post the results.
 
Old 06-29-2006, 03:43 PM   #17
proff
LQ Newbie
 
Registered: Jun 2006
Location: sofia
Distribution: SuSE 10.1.0
Posts: 15

Original Poster
Rep: Reputation: 0
Post reply

@x86processor:

No GNU/Linux on laptop. Only Windows XP Service Pack 2.
The route command for windows is "route PRINT" and its output looks fine.
Code:
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x20002 ...00 08 74 4c f1 4d ...... 3Com 3C920 Integrated Fast Ethernet Controll
er (3C905C-TX Compatible) - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.1     192.168.0.2       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.2     192.168.0.2       20
      192.168.0.2  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255      192.168.0.2     192.168.0.2       20
        224.0.0.0        240.0.0.0      192.168.0.2     192.168.0.2       20
  255.255.255.255  255.255.255.255      192.168.0.2     192.168.0.2       1
Default Gateway:       192.168.0.1
===========================================================================
Persistent Routes:
  None
When pinging laptop from linux it says:
Code:
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
From 192.168.0.1: icmp_seq=12 Destination Host Unreachable
From 192.168.0.1 icmp_seq=12 Destination Host Unreachable
From 192.168.0.1 icmp_seq=13 Destination Host Unreachable
From 192.168.0.1 icmp_seq=14 Destination Host Unreachable

--- 192.168.0.2 ping statistics ---
14 packets transmitted, 0 received, +4 errors, 100% packet loss, time 13046ms
, pipe 3
and vise versa (windows XP pinging SuSE):
Code:
Pinging 192.168.0.1 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.0.1:
     Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

@Unicron:

here's the result:
Code:
Windows IP Configuration

        Host Name . . . . . . . . . . . . : Choki
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet
Controller (3C905C-TX Compatible)
        Physical Address. . . . . . . . . : 00-08-74-4C-F1-4D
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.0.2
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1
        DNS Servers . . . . . . . . . . . : 192.168.0.1
 
Old 06-29-2006, 07:35 PM   #18
Novastorm
LQ Newbie
 
Registered: Feb 2005
Location: Melbourne, AUS
Distribution: Smoothwall Express 2.0Fixes8/Debian 3.1R2
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by proff
here is something strange:

when i ping yahoo.com from the konsole it says "ping: unknown host yahoo.com",
but when i try to reach the host from Firefox, yahoo pops up in a second.. so..
could this info be in any help for solving the problem above ?
This makes me think that DNS isn't working correctly. What DNS server does the laptop show, if its the IP address of your linux/windows machine then you might not have a DNS server setup on your linux installation. That could cause this problem. Try accessing a website via ip address, eg.

www.google.com 64.233.189.104

Good luck
 
Old 06-30-2006, 01:18 AM   #19
proff
LQ Newbie
 
Registered: Jun 2006
Location: sofia
Distribution: SuSE 10.1.0
Posts: 15

Original Poster
Rep: Reputation: 0
pinging 64.233.189.104 from laptop returns "Request timed out".
There is no problem pinging it from the PC

Btw the problem with pinging hosts was solved when i disabled the
firewall. So i can ping now google.com from the PC with no problem
 
Old 07-23-2006, 03:42 PM   #20
ebrehu
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Thumbs up SuSE 10.1 as a router

Did you try the 16579.html how-to on the novell site.
Unfortunately, the sysadmin deny me to post the full URL, 'cause I'm posting for the first time. I'll try to write it in other way:
"three times W dot novell dot com slash coolsolutions slash feature slash 16579.html"
it's very detailed and works. The hardware topology is just like yours.



Quote:
Originally Posted by proff
Hi

My problem is that after all my efforts and reading i cannot setup my suse to act like a router for my home network.

The situation is like this:
I have a PC with both windows and SuSE 10.1.0 installed.
It has two Ethernet Adapters - eth0 (Realtek) and eth1 (Davicom)
In eth0 goes the ISP cable, that provides Internet for my windows and suse.
I use pppoe-start to authenticate with my ISP and make the connection.
eth0 is configured to receive automatic settings through DHCP
eth1 is configured as following:
IP: 192.168.1.1
Subnet Mask: 255.255.255.0
DNS: none
GW: none


On the other hand i have a laptop with windows XP installed and a singular ethernet adapter.
I have a switch that makes the connection between my PC's eth1 and the Laptop adapter.
When I boot my PC in Windows I use Internet Connection Sharing to provide Internet access to the Laptop and it works.

I want to make SuSE route the existing internet connection from eth0 to eth1 and from there to the laptop.

I tried different configs of eth1 in SuSE and echo 1 > /proc/sys/net/ipv4/ip_forward,
but nothing worked.

I cannot even ping my PC's eth1 IP (192.168.1.1) from the laptop when i am in SUSE.
The configuration of the laptop's Network card is like this:
IP: 192.168.1.2
Subnet Mask: 255.255.255.0
GW: 192.168.1.1
DNS: 192.168.1.1


Any ideas ?
 
Old 07-24-2006, 03:35 PM   #21
proff
LQ Newbie
 
Registered: Jun 2006
Location: sofia
Distribution: SuSE 10.1.0
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks a lot, ebrehu !
I'll check this out and write as soon as possible
 
  


Reply

Tags
network, route, routers, suse10



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up router (Linksys WRT54G v5) to connect to internet (SUSE 9.3) Jongi Linux - Networking 2 11-15-2005 01:33 PM
Problem with SUSE 9.3 router riffraph SUSE / openSUSE 1 07-21-2005 06:43 PM
Setting up PC as router, eth1 problem talking to modem NeXuS_2006 Linux - Networking 6 01-17-2005 01:23 PM
help! setting for connect internet via ADSL router(suse 9.1) mysurface Linux - Networking 0 10-21-2004 03:00 AM
problem setting up router in linux http server mkepler1 Linux - Networking 1 12-18-2003 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration