Two Ethernet Jacks & Two Networked Boxes

linux

    Next

  • 1. Win XP/Samba problem -sorted
    Hosts allow in smb.conf problem. shame windows doestn give meningful error messages. p cooper wrote: > Job Eisses wrote: > >> p cooper wrote: >> >>> \\Router is not accessible.You might not have permission to use this >>> network resource. contact the administrator....... >>> >>> You were not connected because a duplicate name exists on the network. >> .. >>> I think the problem is at the XP end. Anyone know what it might be? >> >> Did you name the samba server "Router" ? -job > > > yes
  • 2. ssh over http proxy... the good ol' story
    Hello there, I really would like to access the powers of ssh (tunneling ect.) from my work computer to use some ports that are blocked on the corporate firewall/proxy. However, I only can access PORT 80 from work, so I configured my sshd on the home computer to listen on PORT 80. I thouhgt i then can connect from work with putty to mymachine.on.the.net PORT 80 to get a sucessful ssh session. However, i just recieve now a "Connection timed out" error. When I enter mymachine.on.the.net in my Internet Explorer I recieve "SSH-1.99-OpenSSH_3.6.1p1" which tells me that I've configured my sshd well and he's listening on port 80. is there any solution for this? Is it even possible to get a ssh session working over a proxy ? thanks in advance chris
  • 3. How to set up a Comcast cable modem?
    I looked at the Linux cable modem howto, but it is just a collection of notes for specific vendors that does not include Comcast. Where can I find instructions for Comcast, or at least generic instructions? Thanks, irv
  • 4. email server...
    Hello, Could any tell me what I could use to replace a ms exchange server? I need (imap, pop3, smtp, global address book and calendar) that will be used from MS outlook client (I don't whant external function)... I remember seing something but cant get my hand on where it was... Thanks -- Christian

Two Ethernet Jacks & Two Networked Boxes

Postby Ignatius » Sat, 27 Sep 2003 10:19:39 GMT

Please pardon all evidence of ignorance in the following.  I've just left the world of modems
and google hasn't settled the following issue.

I have a space with two ethernet jacks and two mandrake boxes.  I don't have a router.  What
are my options if I want to network the boxes and get them both on the internet?

I know that a linux box can serve as a dedicated router.  Can one of my boxes be a
workstation and a router?  I have three NICs for the two boxes. 

If not, what are my other options?  I could buy a router, or I could hook each box up to a
seperate jack and then set them up to remotely mount each other's drives over the net.  

Most of the materials on google pertain to sharing one internet connection.  I have two,
so it's less obvious (to me, anyway) that I need a router/dedicated router box.

Thanks.

Re: Two Ethernet Jacks & Two Networked Boxes

Postby Paul Lutus » Sat, 27 Sep 2003 10:58:28 GMT




One crossover cable, or buy a hub and use two normal network cables. The
second is more flexible in an environment in which you might add things
later.


One modem, set up the machine with the modem for packet forwarding. Not
terribly difficult.

-- 
Paul Lutus
 http://www.**--****.com/ 


Re: Two Ethernet Jacks & Two Networked Boxes

Postby Ignatius » Sun, 28 Sep 2003 00:36:31 GMT




Thanks for the info, Paul.  On this last point--I don't use a modem since I have two T1 jacks
in my wall.  Or am I misunderstanding the usefulness of a modem in my situation?

I'd like to be able to access my word processing documents and play MP3s off either
computer, and I want them both on the net.  Since I have two good jacks I'm wondering if I
should even use a LAN, or if I should just do some type of network file sharing.  If there's
no real advantage to a LAN I'd rather not get a hub and have yet another piece of electronics
lying around!  Thanks.




Re: Two Ethernet Jacks & Two Networked Boxes

Postby W Cardwell » Sun, 28 Sep 2003 03:51:48 GMT

If you just moved into an office space with two Ethernet jacks in the wall
then there is probably a building-wide Ethernet network and Internet
connection, so you don't need your own hub or router. Just find the IT guy
and ask him what you need to do to get two machines in your space talking to
each other and on the Internet.
-- 

wcardwell at nc dot rr dot com



Re: Two Ethernet Jacks & Two Networked Boxes

Postby James Knott » Sun, 28 Sep 2003 20:58:09 GMT




Best bet is to have a separate firewall/router.  You can roll your own with 
Linux or buy a cheap one from SMC, Linksys etc.


It can, however you'll also want firewall filtering, which Linux can do, but 
it's best to use a dedicated system for security reasons.

One of those boxes from SMC, Linksys etc. will allow you to network locally, 
as well as share internet access.

Those boxes will do all you need.  And given your lack of knowedge & 
experience, probably the better choice.
-- 

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with 
james.knott.

Re: Two Ethernet Jacks & Two Networked Boxes

Postby James Knott » Sun, 28 Sep 2003 21:00:50 GMT




Network file sharing requires a lan of some sort.  What are those 2 T1s 
(more properly called DS1)  connected to?  Are they both going to an ISP?  
You'll also need something to connect to the DS1.  A standard computer NIC 
won't do it.

-- 

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with 
james.knott.

Similar Threads:

1.Networking between two PC with both having two Ethernet port

I have two PC with FC2. Each PC has two Ethernet ports. eth0 is 100 MBit 
at both PC whereby eth1 can use 1GBit. I can establish the following 
connections:
eth0 <-> eth0
eth0 <-> eth1

but I can not ping between the two eth1s.

I configured
PC1:
ifconfig eth0 192.168.100.3
ifconfig eth1 192.168.200.3
ifconfig eth0 netmask 255.255.255.0
ifconfig eth1 netmask 255.255.255.0

PC2:
ifconfig eth0 192.168.100.2
ifconfig eth1 192.168.200.2
ifconfig eth0 netmask 255.255.255.0
ifconfig eth1 netmask 255.255.255.0

Both route and iptables show nothing suspicious. What can I do?

2.Connecting two networks with two linux boxes.

I have 2 networks each with a linux box as the gateway to the internet.

At the moment they are VPN'd together, but are close enough to get a 
cable run and I'd like to connct them like this to make it quicker
so each linux box will have 3 nics in it.

My question is possibly a dumb one! But what should the IP for the 3rd 
nic in each box be?

The networks are:
	network	   	-	linux box internal address
Box 1) 10.0.12.x/24 	- 	10.0.12.1
Box 2) 192.168.12.x/24 - 	192.168.12.1

Should the 3rd NIC in the box 1 be on the 192.168.12.x range, and vice 
versa but wouldn't that confuse the other network as it would think that 
it is a local IP  when it wouldn't be.

Should they both be on a different range althogether? And then set the 
routing up on each.

ie 3 NICS in each
Box1
internal 10.0.12.1
public 123.456.78.2
"intranet" 10.0.13.1

Box2
internal 192.168.12.1
public 423.243.123.32
"intranet" 10.0.13.2

If it was 2 networks with one linux box it would be easy, just not sure 
how you'd connect the two boxes together....

Any advice appreciated!

Cheers

Mark

3.two dsl connections, two routers, dual nics on linux box , want to run two websites

Hello,

I have two dsl connections, with one public ip on each. I have a linux
box with two nic cards.

xx.xx.xx.xx(WAN)---ROUTER(LAN23.123.45.110) ---- MYLINUX
(23.123.45.107) eth1
yy.yy.yy.yy(WAN)---ROUTER(LAN192.182.1.1)   ---- MYLINUX
(192.168.1.100) eth0

I have apache listening on both interfaces. 

Problem:

1. How do I make the packets route back to the gateway from which they
originate.

Currently the gateway marked as "default" is able to serve content
from the apache. The other one cannot.

I tried adding static routes, but that didn't work.

Any help is appreciated.

Thanks
Jay

---------------------------------------------------------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref   
Use Iface
adsl-23-123-45- adsl-23-123-45- 255.255.255.255 UGH   0      0       
0 eth1
23.123.45.0     *               255.255.255.0   U     0      0       
0 eth1
192.168.1.0     *               255.255.255.0   U     0      0       
0 eth0
loopback        *               255.0.0.0       U     0      0       
0 lo
default         192.168.1.1     0.0.0.0         UG    1      0       
0 eth0


eth0      Link encap:Ethernet  HWaddr 00:0D:87:57:A0:DE
          inet addr:192.168.1.100  Bcast:192.168.1.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3060612 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3577217 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1566982235 (1494.3 Mb)  TX bytes:1126616733 (1074.4
Mb)
          Interrupt:11 Base address:0xe000

eth1      Link encap:Ethernet  HWaddr 00:40:05:39:0E:EA
          inet addr:23.123.45.107  Bcast:68.123.24.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:90635 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31082 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:23017102 (21.9 Mb)  TX bytes:13283751 (12.6 Mb)
          Interrupt:11 Base address:0xe000

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:11888 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11888 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6920794 (6.6 Mb)  TX bytes:6920794 (6.6 Mb)

4.How to set my Linux machine to have two network cards with two IPs

Dear all gurus out there,

I am newbie to Linux and networking.

I have a Red hat linux that used as a Database machine, oracle.

I have 2 network cards that I wish to set to 192.168.0.10 and
192.168.0.11 respectively, the default gw is 192.168.0.1. The
connection of the two IPs coming from 2 different switches (still from
the same router).

My purpose is that : if one of the switches is down, my connection
still up with the other side.

I know switch is hardly "down", but i wish to have full redundancy.

What I did is, I jus set the 2 network cards with the two IPs and I
switch off one of the switches, "poof" the whole network
down..........so, how can it be done ?

Or any other alternatives ?


Thanks.

5.Two NICs, Two networks, secure websites

Hi!

I have a Cisco router (provided by the ISP) that offers 29 usable IP's.
 One of the public IP's is set to be the WAN IP of a simple SOHO
Linksys router that then creates a private network 192.168.1.0.  There
is a Linux server with Apache on the private network.  Port forwarding
on the Linksys router allows SSL access to secure web pages,
unencrypted HTTP, SSH, etc. to the Linux server.  This all is working
OK.

I need to have a 2nd SSL site running on the same Linux server.  So, I
installed a 2nd NIC and connected it to the Cisco router and used one
of the available public IP's.  I cannot connect to the new public IP
(via the new NIC), but can still connect to everything described in the
1st paragraph above.

I can ping out each of the interfaces (e.g. ping -I eth0 yahoo.com  and
  ping -I eth1 yahoo.com both work).  The results of route are:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
AAA.BBB.CCC.160 *               255.255.255.224 U     0      0        0
eth1
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.1     0.0.0.0         UG    0      0        0
eth0

On the server, I can do   lynx https://192.168.1.2 and lynx
https://AAA.BBB.CCC.164.

>From outside of the server, https://AAA.BBB.CCC.163 works now, but
https://AAA.BBB.CCC.164 does not.  What needs to be done to allow
https://AAA.BBB.CCC.164 to work?  And/or, what can I do to troubleshoot
the problem?

eth0      Link encap:Ethernet  HWaddr 00:40:F4:E9:3F:3D
          inet addr:192.168.1.2  Bcast:192.168.1.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6335 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5026 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1373872 (1.3 Mb)  TX bytes:2199390 (2.0 Mb)
          Interrupt:16 Base address:0xf000

eth1      Link encap:Ethernet  HWaddr 00:0C:76:B4:CA:82
          inet addr:AAA.BBB.CCC.164  Bcast:AAA.BBB.CCC.191
Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1582 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:100305 (97.9 Kb)  TX bytes:166007 (162.1 Kb)
          Interrupt:21 Base address:0x1000

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:209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:209 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22394 (21.8 Kb)  TX bytes:22394 (21.8 Kb)


Thanks!

6. iptable rules for two networks connected with two firewalls

7. Two screens, two kbds, two users ?

8. Two windows XP Computers connecting through two separate ethernet cards



Return to linux

 

Who is online

Users browsing this forum: No registered users and 54 guest