RE: Dual NIC Problem
Sorry I have taken so long as well. I got pulled onto another project. Yes, I have both configurations in /etc/network/interfaces. The only difference is that eth1 is on a different segment so the only number that is similar between the two NIC is the subnet mask. This is what I have (number are fictisous): iface eth0 inet static address 172.30.14.171 network 172.30.14.0 netmask 255.255.254.0 broadcast 172.30.15.255 gateway 172.30.14.2 iface eth1 inet static address 172.30.12.219 network 172.30.12.0 netmask 255.255.254.0 broadcast 172.30.13.255 gateway 172.30.12.2 Now, I am using 3Com 3C905B NICs. I think I am going to swap them out for some Intel Pro/100s and see what happens. Thanks, Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christen Welch Sent: Thursday, October 05, 2000 6:02 AM To: 'debian-user@lists.debian.org' Subject: Re: Dual NIC Problem Sorry for the tardiness of my reply... Let me just give a run down of some stuff: /etc/network/interfaces: - iface lo inet loopback iface eth0 inet static address 172.16.12.42 network 172.16.12.0 netmask 255.255.255.0 broadcast 172.16.12.255 gateway 172.16.12.1 - and you have the same type info for eth1 in there too /etc/init.d/network shouldn't have anything in it If everything looks ok here, and /etc/hosts.deny and /etc/hosts.allow are set up properly, I'm really out of ideas. Sorry about that. If I can think of something else, I'll be sure to post it. -- Chaotic42 [EMAIL PROTECTED] http://www.pobox.com/~chaotic42/ http://www.bigplasticfork.org/ We are what we repeatedly do - Aristotle
Re: Dual NIC Problem
Sorry for the tardiness of my reply... Let me just give a run down of some stuff: /etc/network/interfaces: - iface lo inet loopback iface eth0 inet static address 172.16.12.42 network 172.16.12.0 netmask 255.255.255.0 broadcast 172.16.12.255 gateway 172.16.12.1 - and you have the same type info for eth1 in there too /etc/init.d/network shouldn't have anything in it If everything looks ok here, and /etc/hosts.deny and /etc/hosts.allow are set up properly, I'm really out of ideas. Sorry about that. If I can think of something else, I'll be sure to post it. -- Chaotic42 [EMAIL PROTECTED] http://www.pobox.com/~chaotic42/ http://www.bigplasticfork.org/ We are what we repeatedly do - Aristotle pgpqIzHpF8yaY.pgp Description: PGP signature
RE: Dual NIC Problem
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christen Welch Sent: Saturday, September 30, 2000 1:52 AM To: 'debian-user@lists.debian.org' Subject: Re: Dual NIC Problem On Fri, Sep 29, 2000 at 09:05:30AM -0400, Kimsey-Hickman, Brian [EMAIL PROTECTED] wrote: Well it sure didn't take to long to reach the limit of my knowledge. Heh, this is my first real crack at helping anyone, so I know how you feel. I hope I can help you solve this. If not, feel free to call me at all hours of the night to chew me out :) Heck, I'm just happy to have someone to bounce ideas off of. You won't get any crankiness from me. I could not find anything that had the a telnet 127.0.0.1 110 line. Sorry, I am a new user. Sorry, I meant just run that at the prompt. That should take you into your own mail server, should you have one running. The point of this being, if you have telnetd running, and can't telnet in to the default port, maybe you could telnet into another port. Okay, I tried that and got an error Unable to connect to remote host: Connection Refused When I built this machine I did not use any of the simple installation setups like for a Server, Workstation or Scientific Workstation. I selected advanced and all I selected was telnet, ifconfig and tcpdump. So, unless mail services are selected and installed by default this machines probably would not have them. Basically, all I want this machine to do is to monitor a network segment while I telnet into from another segment to take a look. I could go ahead and install mail services for diagnostic purposes I don't have a problem with that. now. Both are purely experimental at this point. I did check the hosts file at it does have the machine name and IP number. When I said I could ping I meant I can the IP address not the device name. Here's where my understanding of the whole network stuff fades away :) Are you trying to ping /dev/eth0? Can you give me the output of netstat -rn on all of the systems? The dual NIC machine Destination Gateway Genmask Flags Mss Window irtt Iface 172.30.4.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0 172.30.6.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1 0.0.0.0 172.30.6.2 0.0.0.0 UG 0 0 0 eth1 0.0.0.0 172.30.4.2 0.0.0.0 UG 0 0 0 etho The machine I am trying to telnet from Destination Gateway Genmask Flags Mss Window irtt Iface 172.30.4.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0 0.0.0.0 172.30.4.2 0.0.0.0 UG 0 0 0 etho -- Chaotic42 [EMAIL PROTECTED] http://www.pobox.com/~chaotic42/ http://www.bigplasticfork.org/ Think for yourself and let others enjoy the privilege of doing so too - Voltaire
RE: Dual NIC Problem
Thanks, for the advice. However I did notice that I do not have /etc/init.d/networks file. I have a /etc/init.d/networking file. I noticed this when I first started looking but thought that the file names might have been changed between Debian 2.1 and 2.2. Do you know, or anyone for that matter, if that is the case? Or do I have a botched installation? Thanks, Brian -Original Message- From: Krafthefer, Kevin [mailto:[EMAIL PROTECTED] Sent: Friday, September 29, 2000 11:59 AM To: '[EMAIL PROTECTED]' Subject: Re: Dual NIC Problem Brian, I've grappled with multiple nics a few times, most of the time successfully but not always. Without being able to pin-point your problem from here, I offer this advice: potentially useful commands: o netstat o ifconfig potentially useful files: o /etc/init.d/networks (basically, this is where your network configuration is set): o /etc/networks o /etc/inet.d potentially useful books: o Linux Network Administrators Guide, second edition is out (O'Reilly) potentially useful words: o stick to ip addresses until you get you basic network functionality working, then add a name server on a debian box (not NT, microsoft's implementation of dns is limited and a bit unstable [go figure]); get O'Reilly's dns/bind book for name server configuration o you can bind multiple ip addresses to one nic, this can eliminate possibilities of hardware conflicts between the nics but exposes you to security issues Good luck and stick with it. It will eventually work. Krafty
Re: Dual NIC Problem
This did change in 2.2. /etc/init.d/networking has replaced /etc/init.d/networks, although a normal upgrade will still use the old one (i.e., the symlinks to /etc/rc*.d aren't created if /etc/init.d/networks exists). On Mon, Oct 02, 2000 at 01:49:52PM -0400, Kimsey-Hickman, Brian wrote: Thanks, for the advice. However I did notice that I do not have /etc/init.d/networks file. I have a /etc/init.d/networking file. I noticed this when I first started looking but thought that the file names might have been changed between Debian 2.1 and 2.2. Do you know, or anyone for that matter, if that is the case? Or do I have a botched installation? Thanks, Brian -Original Message- From: Krafthefer, Kevin [mailto:[EMAIL PROTECTED] Sent: Friday, September 29, 2000 11:59 AM To: '[EMAIL PROTECTED]' Subject: Re: Dual NIC Problem Brian, I've grappled with multiple nics a few times, most of the time successfully but not always. Without being able to pin-point your problem from here, I offer this advice: potentially useful commands: o netstat o ifconfig potentially useful files: o /etc/init.d/networks (basically, this is where your network configuration is set): o /etc/networks o /etc/inet.d potentially useful books: o Linux Network Administrators Guide, second edition is out (O'Reilly) potentially useful words: o stick to ip addresses until you get you basic network functionality working, then add a name server on a debian box (not NT, microsoft's implementation of dns is limited and a bit unstable [go figure]); get O'Reilly's dns/bind book for name server configuration o you can bind multiple ip addresses to one nic, this can eliminate possibilities of hardware conflicts between the nics but exposes you to security issues Good luck and stick with it. It will eventually work. Krafty -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Bob Nielsen, N7XY [EMAIL PROTECTED] Bainbridge Island, WA http://www.oz.net/~nielsen
Re: Dual NIC Problem
On Fri, Sep 29, 2000 at 09:05:30AM -0400, Kimsey-Hickman, Brian [EMAIL PROTECTED] wrote: Well it sure didn't take to long to reach the limit of my knowledge. Heh, this is my first real crack at helping anyone, so I know how you feel. I hope I can help you solve this. If not, feel free to call me at all hours of the night to chew me out :) I could not find anything that had the a telnet 127.0.0.1 110 line. Sorry, I am a new user. Sorry, I meant just run that at the prompt. That should take you into your own mail server, should you have one running. The point of this being, if you have telnetd running, and can't telnet in to the default port, maybe you could telnet into another port. now. Both are purely experimental at this point. I did check the hosts file at it does have the machine name and IP number. When I said I could ping I meant I can the IP address not the device name. Here's where my understanding of the whole network stuff fades away :) Are you trying to ping /dev/eth0? Can you give me the output of netstat -rn on all of the systems? -- Chaotic42 [EMAIL PROTECTED] http://www.pobox.com/~chaotic42/ http://www.bigplasticfork.org/ Think for yourself and let others enjoy the privilege of doing so too - Voltaire pgpeN15TW1GSG.pgp Description: PGP signature
RE: Dual NIC Problem
Well it sure didn't take to long to reach the limit of my knowledge. I really don't know where to look to find what services are running. I found a /etc/services file but that looked more like porting information (telnet 23/tcp). I could not find anything that had the a telnet 127.0.0.1 110 line. Sorry, I am a new user. I am trying this as work and we are on an ethernet network running TCP/IP on class b numbers. There are only two Debian machines on the network right now. Both are purely experimental at this point. I did check the hosts file at it does have the machine name and IP number. When I said I could ping I meant I can the IP address not the device name. I don't have anything set up for name resolution right now for these machines. We are basically an NT VAX shop. The second experimental machine that has only one NIC card I can telnet into just fine without any problems. In setting up the second NIC card on the first machine I could not find much documentation so I just decided to edit the /etc/host file and added another line with the same device name and a second IP address on another segment. Then I went to the /etc/network/interfaces file and added a iface eth1 inet static section defining the IP address, netmask, network, broadcast and gateway numbers. That all I did. I could not find much more information in the How Tos, online documentation or SAMs Debian Unleashed book. I am sure I have missed something. In any case thanks for the help and I hope I have provided enough information to fuel an answer. Brian On Thu, Sep 28, 2000 at 03:31:38PM -0400, Kimsey-Hickman, Brian [EMAIL PROTECTED] wrote: I have tried to set up a telnet session using both the ip and host name. When using the ip number I get just the telnet prompt with no error messages. Do you have any services running that you could telnet into? For example: telnet 127.0.0.1 110 or something like that to see if anything is running. When I use the host name and get and Unknown Host error. I can ping the ip address without any problem. Sounds like a name configuration error. How is your network set up? Are you trying to access a home network from work? -- Chaotic42 [EMAIL PROTECTED] http://www.pobox.com/~chaotic42/ http://www.bigplasticfork.org/ We are what we repeatedly do - Aristotle
Dual NIC Problem
I am a new Debian (2.2) user and am trying to set up an Intel machine for two NIC cards. One NIC will monitor (tcpdump) one ethernet segment while I telnet into the machine on the other NIC on another segment. eth0 is on the segment I want to monitor. eth1 is the one I was planning to telnet into. The problem is that I do not get a login prompt when I telnet into the device, I get a telnet prompt. If someone could point me in the right direction, either to some written resources or advice, I would greatly appreciate it. Thanks, Brian
Re: Dual NIC Problem
On Thu, Sep 28, 2000 at 11:38:13AM -0400, Kimsey-Hickman, Brian wrote: I am a new Debian (2.2) user and am trying to set up an Intel machine for two NIC cards. One NIC will monitor (tcpdump) one ethernet segment while I telnet into the machine on the other NIC on another segment. eth0 is on the segment I want to monitor. eth1 is the one I was planning to telnet into. The problem is that I do not get a login prompt when I telnet into the device, I get a telnet prompt. If someone could point me in the right direction, either to some written resources or advice, I would greatly appreciate it. Did you try telnet ip_or_name_of_machine? You only get a prompt if you only type in telnet. What error messages do you get? Can you ping your machine's ip-adresses? -- Thomas Guettler Office: [EMAIL PROTECTED] www.interface-business.de Private:[EMAIL PROTECTED] http://yi.org/guettli
RE: Dual NIC Problem
Thanks for the response. I have tried to set up a telnet session using both the ip and host name. When using the ip number I get just the telnet prompt with no error messages. When I use the host name and get and Unknown Host error. I can ping the ip address without any problem. Brian On Thu, Sep 28, 2000 at 11:38:13AM -0400, Kimsey-Hickman, Brian wrote: I am a new Debian (2.2) user and am trying to set up an Intel machine for two NIC cards. One NIC will monitor (tcpdump) one ethernet segment while I telnet into the machine on the other NIC on another segment. eth0 is on the segment I want to monitor. eth1 is the one I was planning to telnet into. The problem is that I do not get a login prompt when I telnet into the device, I get a telnet prompt. If someone could point me in the right direction, either to some written resources or advice, I would greatly appreciate it. Did you try telnet ip_or_name_of_machine? You only get a prompt if you only type in telnet. What error messages do you get? Can you ping your machine's ip-adresses? -- Thomas Guettler Office: [EMAIL PROTECTED] www.interface-business.de Private:[EMAIL PROTECTED] http://yi.org/guettli -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Dual NIC Problem
On Thu, Sep 28, 2000 at 03:31:38PM -0400, Kimsey-Hickman, Brian [EMAIL PROTECTED] wrote: I have tried to set up a telnet session using both the ip and host name. When using the ip number I get just the telnet prompt with no error messages. Do you have any services running that you could telnet into? For example: telnet 127.0.0.1 110 or something like that to see if anything is running. When I use the host name and get and Unknown Host error. I can ping the ip address without any problem. Sounds like a name configuration error. How is your network set up? Are you trying to access a home network from work? -- Chaotic42 [EMAIL PROTECTED] http://www.pobox.com/~chaotic42/ http://www.bigplasticfork.org/ We are what we repeatedly do - Aristotle pgpD1nAvBswjh.pgp Description: PGP signature