Networking Question

Page 1 of 1

5 Replies - 1161 Views - Last Post: 05 July 2003 - 04:42 PM

#1 Quik   User is offline

  • D.I.C Lover
  • member icon

Reputation: 2
  • View blog
  • Posts: 3,750
  • Joined: 06-March 01

Networking Question

Posted 05 July 2003 - 12:24 PM

Ok, here is my home network.. its pretty self explanitory

The most recent addition is the HUB and "server computer". Before, the long cable from downstairs just ran into my main computer.

My question is,
a. How can i access my Linux Server from any of the computers or the net?? What ip would be assigned to it since its on a router + hub?
b. do i need to configure anything on the box to do so

Attached image(s)

  • Attached Image

Is This A Good Question/Topic? 0
  • +

Replies To: Networking Question

#2 gneato   User is offline

  • <title>Untitled Document</title>

Reputation: 0
  • View blog
  • Posts: 1,311
  • Joined: 03-September 01

Re: Networking Question

Posted 05 July 2003 - 01:06 PM

Does your router also act as a DHCP server, or have you assigned IP addresses manually? As far as IP addresses go, if you know the IP of the computer you want to access, it doesn't make a difference if it's on another hub/switch or not.

By the way, since you show 2 "devices" aside from your cablemodem plugged into the router, I'm willing to bet that it's actually a switch too, and ifI had to guess I'd say it's a linksys device (most popular).

If it is in fact a Linksys Router/Switch, then it can act as a DHCP server, and I believe that is enabled by default. All you'd need to do is figure out the IP on whatever machine you want to get to. If it's a linux machine, open a terminal and type in /sbin/ifconfig and hit enter. It will display something similar to the following. Your IP will be where I've bolded.

eth0 Link encap:Ethernet HWaddr 00:48:54:88:58:6F
inet addr:192.168.1.109 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3551 errors:0 dropped:0 overruns:0 frame:0
TX packets:3620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1361647 (1.2 Mb) TX bytes:438514 (428.2 Kb)
Interrupt:11

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: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:1046 (1.0 Kb) TX bytes:1046 (1.0 Kb)
Was This Post Helpful? 0
  • +
  • -

#3 Quik   User is offline

  • D.I.C Lover
  • member icon

Reputation: 2
  • View blog
  • Posts: 3,750
  • Joined: 06-March 01

Re: Networking Question

Posted 05 July 2003 - 03:23 PM

Ok, it showed me my IP when i typed that,
but I tried to access HTTP from another computer that is networked, and it wouldn't respond.

It would be nice if I can SSH into it too, so i dont have to keep switching monitor cable to the comp

(This is after I ran the command "service httpd start")

This post has been edited by Quik: 05 July 2003 - 03:24 PM

Was This Post Helpful? 0
  • +
  • -

#4 Quik   User is offline

  • D.I.C Lover
  • member icon

Reputation: 2
  • View blog
  • Posts: 3,750
  • Joined: 06-March 01

Re: Networking Question

Posted 05 July 2003 - 03:53 PM

and yes it acts as a DHCP.. so it does assign my computers different ipaddreses..
Was This Post Helpful? 0
  • +
  • -

#5 Quik   User is offline

  • D.I.C Lover
  • member icon

Reputation: 2
  • View blog
  • Posts: 3,750
  • Joined: 06-March 01

Re: Networking Question

Posted 05 July 2003 - 04:00 PM

ok there must be somthing wrong with a service, or a firewall is enabled. cause its networked fine because i just pinged the IP the DHCP assigned to it and it pings

This post has been edited by Quik: 05 July 2003 - 04:03 PM

Was This Post Helpful? 0
  • +
  • -

#6 Quik   User is offline

  • D.I.C Lover
  • member icon

Reputation: 2
  • View blog
  • Posts: 3,750
  • Joined: 06-March 01

Re: Networking Question

Posted 05 July 2003 - 04:42 PM

ok i flushed iptables and now its working.. that must have done it :D
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1