LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can ping box to box thru router - good sign? (https://www.linuxquestions.org/questions/linux-networking-3/can-ping-box-to-box-thru-router-good-sign-122455/)

toastermaker 12-03-2003 07:08 PM

Can ping box to box thru router - good sign?
 
Extreme newbie here.
I can ping box "a" from box "b" and vise versa through this "iblitzz netwave base" router.
I can use a browser on either box to contact the router and open the on board config utility for it.

-a. Is this a good sign?
-b. If so, How good?
-c. Is it virtually assured that this router will allow me to connect to my adsl modem and on to the internet once configured?

I am trying to start simple. This router supports both wired and wireless Ethernet.
I am starting with wired, and the two computers that I had already been using in a direct ethernet cable LAN, this way I know the on board nic's are working because I've used them for ssh, nfs and internet connection sharing.

I do not absolutely have to use this particular router, but sure would like to because it will be a freebie if I can use it.

I have been reading but don't understand what settings to apply where.
The how-to's on Ldp are not simple enough for me to know what should apply to my particular setup.

If I have chosen an OK setup to start learning/configuring my LAN through router to adsl modem to internet connections, please help me get started configuring.

If a different setup would be better, let me know.

Mandrake 9.2 on both boxes.

Thanks for any help.

zaphodiv 12-03-2003 09:11 PM

Iblitzz website which model is it?

toastermaker 12-04-2003 12:53 AM

bwa611
netwave base G4 11mbps 802.11b

I didnt see any mention of linux on thier website, if thats what I was supposed to be looking for, so I called them. The guy said " I think you can make it work with linux but we dont provide support for it".

I've tried looking this iblitzz up on compatibillity sites but so far havent been able to find my way around the site well enough to say if its there or not.

Is there 1 definitive compatibility site for me to look at?

Thanks

toastermaker 12-04-2003 09:15 PM

Ok I had some one tell me that routers just work. Its only a matter of proper address configuration. No special drivers needed on my computer for any particular router.

Is this accurate? If so I'll go back to banging heads with this thing post haste.

Sorry for such newbie questions but I am what I am.

Thanks for any help.

zaphodiv 12-04-2003 11:46 PM

>Ok I had some one tell me that routers just work. Its only a matter of proper >address configuration.

Basically yes. There may be the odd exception such as the apple airport that needs a apple computer to configure it. Your has a web interface for configuring it.

ugob 12-04-2003 11:57 PM

there isnt any compatibility issues with routers, as long as they support tcp-ip (which they mostly do). The only cases of incompatibility is when they have a printer port or something like that.

toastermaker 12-05-2003 04:02 AM

Thanks,
Should I remove the existing pppoe stuff from my computer so the pppoe stuff thats built into the router will work?
If so is there any 1 pppoe package I should leave or should it be ok to remove all packages that turn up when search for "pppoe"

Thanks for all replies.

ugob 12-05-2003 07:55 AM

you don't need pppoe anymore when you use a router. they do the ppoe work for you and they provide you with clean and simple ethernet. Usually, all you need is use a dynamic address and everything should work, as long as you router config is ok.

toastermaker 12-05-2003 08:00 PM

Please help figure out why I cant connect to internet through router.
I can open the routers control panel with a browser on my computer.

Here is /sbin/route:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0

Here is tcpdump while trying to use mozilla to goto linux questions.

tcpdump: listening on eth0
19:39:49.611254 192.168.1.2.1048 > 192.168.1.254.domain: 44058+ A? www.linuxque
stions.org. (40) (DF)
19:39:49.630116 192.168.1.2.1049 > 192.168.1.254.domain: 45779+ PTR? 254.1.168. 192.in-addr.arpa. (44) (DF)
19:39:54.608517 arp who-has 192.168.1.254 tell 192.168.1.2
19:39:54.608806 arp reply 192.168.1.254 is-at 0:e0:98:b1:2d:7
19:39:54.618961 192.168.1.2.1048 > 192.168.1.254.domain: 44058+ A? www.linuxque stions.org. (40) (DF)
19:39:54.638872 192.168.1.2.1049 > 192.168.1.254.domain: 45779+ PTR? 254.1.168. 192.in-addr.arpa. (44) (DF)
19:39:59.628759 192.168.1.2.1050 > 192.168.1.254.domain: 44059+ A? www.linuxque stions.org.gulftel.com. (52) (DF)
19:39:59.649246 192.168.1.2.1051 > 192.168.1.254.domain: 45780+ PTR? 2.1.168.19 2.in-addr.arpa. (42) (DF)
19:40:04.638596 192.168.1.2.1050 > 192.168.1.254.domain: 44059+ A? www.linuxque stions.org.gulftel.com. (52) (DF)
19:40:04.659635 192.168.1.2.1051 > 192.168.1.254.domain: 45780+ PTR? 2.1.168.19 2.in-addr.arpa. (42) (DF)
19:40:09.649829 192.168.1.2.1052 > 192.168.1.254.domain: 57139+ A? www.linuxque stions.org. (40) (DF)
19:40:14.658599 192.168.1.2.1052 > 192.168.1.254.domain: 57139+ A? www.linuxque stions.org. (40) (DF)
19:40:19.668724 192.168.1.2.1052 > 192.168.1.254.domain: 57140+ A? www.linuxque stions.org.gulftel.com. (52) (DF)
19:40:24.678723 192.168.1.2.1052 > 192.168.1.254.domain: 57140+ A? www.linuxque stions.org.gulftel.com. (52) (DF)

14 packets received by filter
0 packets dropped by kernel
[root@localhost teabear]#

Here is ifconfig

eth0 Link encap:Ethernet HWaddr 00:0C:6E:3C:87:97
inet addr:192.168.1.2 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:707 errors:0 dropped:0 overruns:0 frame:0
TX packets:957 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:267138 (260.8 Kb) TX bytes:78531 (76.6 Kb)
Interrupt:3 Base address:0x8800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:271 errors:0 dropped:0 overruns:0 frame:0
TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20400 (19.9 Kb) TX bytes:20400 (19.9 Kb)

Thanks for your help.

ugob 12-05-2003 10:38 PM

if you ping www.google.ca what you you get?
if you ping 207.183.36.4, what do you get?

toastermaker 12-05-2003 11:50 PM

this is the result:

[teabear@localhost teabear]$ ping www.google.com
ping: unknown host www.google.com

[teabear@localhost teabear]$ ping 207.183.36.4
PING 207.183.36.4 (207.183.36.4) 56(84) bytes of data.

then I waited a few min and hit ctrl>c
and got this:

--- 207.183.36.4 ping statistics ---
281 packets transmitted, 0 received, 100% packet loss, time 280013ms

[teabear@localhost teabear]$

Thank you for helping.

zaphodiv 12-06-2003 10:55 AM

I assume you have a windows machine as well. Does that work through the router?

I assume 192.168.1.254 is the router
From your tcpdump log it looks like you have 192.168.0.254 set as a nameserver? Your router is not acting as a resolving domain name server.
You probably need to set the ip's of you ISP's nameservers in mandrakes
config program or in /etc/resolv.conf
You can get the ip's from ipconfig /all on windows.

That may not be the only problem.
Try using a web browser to visit http://66.218.71.198/ and http://64.179.4.146 (yahoo and linuxquestions)

Routing table looks ok, just to make sure show us the output
of traceroute 207.183.36.4
The first hop should be the router.

toastermaker 12-06-2003 11:46 PM

First of all, EXtrEme Thanks and appreciation for everyones help.

How bizarre is this?
I haven't booted windows since I got mandy 9.1 bout 3 months ago. Apparently I haven't missed it because it never dawned on me to fire it up for purpose of troubleshooting router connection.

Anyhow I took zaphodrv's idea to check router with windows and it worked after bout an hour of monkeying around. I copied "ipconfig" so I could try to use the info in mandrake and booted to mandrake.

My internet connection through router started automatically when mandrake started !?
How did that happen? I didn't configure the router when I was in windows except to hit the "restore factory defaults", something I had done at least a few times while in mandrake, to no avail.

A couple of more questions:

Are wireless nic cards specific to routers? In other words do I have to use an iblitzz wireless nic card with this iblitzz router?

And about the ipconfig output:

F:\Documents and Settings\teabear>ipconfig/all

Windows IP Configuration

Host Name . . . . . . . . . . . . : warpner-9cxq9v6
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : Domain
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
Physical Address. . . . . . . . . : 00-E0-18-AF-30-AE
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
DHCP Server . . . . . . . . . . . : 192.168.1.254
DNS Servers . . . . . . . . . . . : 192.168.1.254
216.231.160.2
216.231.160.10
Lease Obtained. . . . . . . . . . : Saturday, December 06, 2003 9:33:36
PM
Lease Expires . . . . . . . . . . : Sunday, December 07, 2003 9:33:36 AM


Is the hostname "warpner" some kind of windows default name? I've never heard of it that I can remember, but there it is.

What does the "lease expires" stuff mean.

Thanks again, I am going to study my mandrake settings now that router is working, and then try to start adding more puters to the mix.


Continued gratitude to all those who help us newbies!

ugob 12-06-2003 11:52 PM

warpner is the netbios name of your machine.. you probably saw it on install, it looks like an automatically-generated name

lease expires is the duration of the DHCP lease. It is far more complex than that, but, basically, when the lease is about to expires, it is automatically renewed with the DHCP server.

toastermaker 12-06-2003 11:56 PM

Thanks ugob,

Do you know about the wireless nic cards, can they mix and match with routers made by differant manufacturers?


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