LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-24-2005, 08:47 AM   #1
pcm2005
LQ Newbie
 
Registered: Jun 2005
Distribution: mandrake 10
Posts: 2

Rep: Reputation: 0
Ethernet IP change conflict


I am running a madrake 10 distro.. I was connected to my office from home via ssh yesterday when i decided i wanted to change to a static ip. I found a command which seemed to change it to the static ip i wanted except now i cannot VNC or SSh into the comp55uter. it goes online fine and within the network i can ssh to the local IP but even when i set the computer up as a DMZ and try and access it from outside my lan it doesn't work..any ideas
 
Old 06-24-2005, 06:49 PM   #2
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
um, just a few questions

Quote:
I am running a madrake 10 distro.. I was connected to my office from home via ssh yesterday when i decided i wanted to change to a static ip. I found a command which seemed to change it to the static ip i wanted except now i cannot VNC or SSh into the comp55uter. it goes online fine and within the network i can ssh to the local IP but even when i set the computer up as a DMZ and try and access it from outside my lan it doesn't work..any ideas
Ok, I'll make some assumptions here,

You have a PC at work, a PC at home. You are connecting to your works network via SSH/VNC and remote control your work PC from your home PC? This worked fine until you changed the IP address of your home PC to a static IP?

Quote:
I was connected to my office from home via ssh yesterday when i decided i wanted to change to a static ip.
Did you assign the same static IP as you were getting from DHCP?

Quote:
I found a command which seemed to change it to the static ip i wanted except now i cannot VNC or SSh into the comp55uter.
Out of interest what command was it? I'm guessing you mean you now can't VNC your work PC?

Quote:
it goes online fine...
Do you mean your home PC goes online via your home Internet connection, independant of your works network? Do you use the same connection for both? I.e. you don't have a broadband connection for personal home internet and then dial-in to your works network using a 56K modem.

Quote:
... and within the network i can ssh to the local IP but even when i set the computer up as a DMZ and try and access it from outside my lan it doesn't work..any ideas
Not sure exactly what you mean by this, presumably you mean you can still connect to your works network and you can SSH to your work PC (so basically the problem is not being able to VNC). Even if you set your work PC up on your works DMZ you are still unable to VNC it from your home PC?

I hope that all made sense!
 
Old 06-25-2005, 02:25 AM   #3
pcm2005
LQ Newbie
 
Registered: Jun 2005
Distribution: mandrake 10
Posts: 2

Original Poster
Rep: Reputation: 0
The pc at home is windows. I remotely changed the ip address of my mandrake 10 distro to a static ip below the dhcp scope of the router.

the command was something like i found through linux questions.org. I think eth0 - (somthing) new ip address
Now i cannot vnc into my mandrake pc anymore BUT i can remote desktop into an addtional pc on the network and from that pc i can ssh or vnc just fine. That is why i assumed it was a router problem but resetting the router and making it a dmz host hasnt helped. I was just getting used to SSH too!
 
Old 06-25-2005, 06:28 AM   #4
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
Couple more q's:

OK, so your PC at home is win XP, your work PC is Mandrake 10 (which used to have a dynamic IP but now has a static IP). Is that static IP on the same subnet mask as the dynamic one was? - If the answer to the next question is yes then the answer to this one is probably yes too.

So you can VNC to another (any other?) Mandrake 10 PC on your works network and from that PC you can connect to your work PC but you can't connect straight to your work PC?

At my place of work we have a server which basically lists the PC's you can connect to via VNC, I don't have anything to do with setting it up but I know it takes your login credentials and based on those, limits the PCs you can connect to. Possibly you have something similar and changing your work PCs IP address means it's no longer in the list of IPs/PCs you can connect to with your login credentials?
 
Old 06-25-2005, 04:25 PM   #5
KenGr
LQ Newbie
 
Registered: Feb 2004
Location: Wyoming
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
I'm just guessing here, but if you can SSH into other PCs on your network but not the one you changed to a static IP you may have a gateway issue.

Under DHCP the gateway would be set to the NIC but I believe under static IP addressing you need to config the gateway when you assign the static IP address.

Just a thought.
 
  


Reply



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
modem/ethernet conflict in Mandriva 2006 its_toby Mandriva 1 10-27-2005 07:35 AM
ethernet conflict nairnie Linux - Networking 1 11-17-2003 06:08 PM
help - eth0 alias conflict with my USB-ethernet card darkelf Linux - Networking 1 11-05-2003 10:43 AM
Printer / ethernet card conflict uglykid Linux - Hardware 0 07-07-2003 07:27 AM
IRQ conflict & ethernet configuration please atari303 Linux - Newbie 8 10-17-2001 01:45 AM

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

All times are GMT -5. The time now is 04:15 PM.

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