Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 13th, 2005, 3:46 AM   #1
ViOLATiON
Programmer
 
Join Date: Sep 2005
Posts: 58
Rep Power: 3 ViOLATiON is on a distinguished road
New Switch, FTP Problems

Ok, in the past I have had alot of problems with my router, so i ditched it. Now I got this Linksys switch, and when I go start --> run --> cmd and type ipconfig it says my ip address is 192.168.2.10 which is the address of the modem.

The FTP Server, naturally, reconizes me as 192.168.2.10 aka the modem, therefore no one outside of my lan can connect to me. My question is how do I fix this. I'm pretty new to networking, but this is what I have plugged in to the switch:

Port 1 = Modem
Port 2 = Desktop PC 1
Port 3 = Desktop PC 2
Port 4 = PS2
Port 5 = Xbox

The entire network is wired, nothing is wireless. Any ideas? I am using BulletProof FTP and has worked with no problems in the past. I also have Cerebus and Gene6 if I need to switch.

Thanks for the help!
ViOLATiON is offline   Reply With Quote
Old Sep 13th, 2005, 4:15 AM   #2
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
The FTP client should recognize the computer it's on as the local network address. If you're talking about moving files from one computer to another, you need to have an FTP daemon on the serving computer, unless BulletProof is also one.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Sep 13th, 2005, 4:27 AM   #3
ViOLATiON
Programmer
 
Join Date: Sep 2005
Posts: 58
Rep Power: 3 ViOLATiON is on a distinguished road
Ok, I tried RaidenFTPD and I still cant. The switch isnt giving me the external ip address. But why? Instead it is reconizing me as the modem, 192.168.2.10
ViOLATiON is offline   Reply With Quote
Old Sep 13th, 2005, 7:06 AM   #4
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
you'll have to go into your 'switch' (i assume router, since switches can't communicate between a LAN and a WAN) and forward all incoming traffic to port 21 to your FTP box, 192.168.2.10. go to http://192.168.2.1 and look around there.
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Sep 13th, 2005, 7:29 AM   #5
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Both my Linksys' are 192.168.1.1, you might wanna check your docs.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 13th, 2005, 7:38 AM   #6
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,466
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I had an issue with this before... I had to enable IP Passthrough on my DSL modem (Westell).
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 13th, 2005, 1:44 PM   #7
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
Uhm, you should have a router somewhere. A switch can't route the signals anywhere without one. (unless your modem has a router in it, which is possible)

It should be modem --> router --> switch --> Pc, xbox, etc

Then go into your router and set up port forwarding (aka virtual servers)
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:24 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC