SoftwareTipsandTricks Forum

Go Back   SoftwareTipsandTricks Forum > Operating Systems > Windows XP
User Name
Password


Sharing Internet (Tricky! - can't use ICS)

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes

  #1  
Old 02-22-2004, 07:53 AM
paweusz's Avatar
paweusz Offline
Junior Member
 
Join Date: Feb 2004
Posts: 5
Exclamation Sharing Internet (Tricky! - can't use ICS)

Dear friends! I have an annoying problem which i couldn't have solved for 2 months.

I've got two comp-s in my room: one WinXP SP1 with newest critical updates (on Athlon +2000XP, 512M RAM, but it doesn't matter anyway), and second, slower - Win98 SE (PII 450 256RAM). I'm connected to ISP with XP and I want to share the connection with 98SE but:

1. Although there is no mention of forbidding of sharing the internet access, the main router (on Linux) permits to get out from LAN only for packets of specified pair IP-MAC. If i change MAC OR I change IP - i can't communicate (even ping) with 192.168.0.1 as good as I can't get any internet.

2. I can't use the bridged network, because:
a) the Win98 uses some of the disk of XP through MS Network
b) after bridging - the MAC of the bridge is different from the one that is assigned to my IP (eth0).

Other parameters:
XP is in 192.168.0.x where .1 - is the router, and .32 is my XP
98 is in 172.16.0.x where .1 - is the XP, and .2 is the 98.

Everything worked (almost) good with Kerio WinRoute 4 (not 5 - this version hanged my XP, 4 - block my FTP), but I can't use it anymore (trial version).

ICS doesn't work. At least because it wants to change some IPs.

98 is well configured: it's gateway is 172.16.0.1 and dnses are good (it worked on Kerio).

I know that I have to configure NAT with netsh command, but I'm not so experienced to do that (I've tried many times, and...).

PLEASE!!! HELP MEEE!!!!
Reply With Quote

  #2  
Old 02-22-2004, 09:16 AM
Jito463's Avatar
Jito463 Offline
No I will NOT fix your PC
 
Join Date: Oct 2002
Location: Iowa, US of A
Posts: 11
Why can't you just edit the settings on the router to accept from all MAC addresses? Or if you can't, just replace that crappy one with a $40 router that *will* allow you to.
Reply With Quote

  #3  
Old 02-22-2004, 09:31 AM
paweusz's Avatar
paweusz Offline
Junior Member
 
Join Date: Feb 2004
Posts: 5
Sharing internet

I cannot change router setting, because rotuer belongs to my ISP admin, who don't wan't to. So. I have to do it in my own computer.

Again:

I'm in private network. I've got 2 computers in my home. One is connected to ISP. ISP provides internet in a LAN 192.168.0.x
The router is 192.168.0.1. My computer is 192.168.0.32.

But thank you for your answer. It would be most useful if I could do that

Last edited by paweusz : 02-22-2004 at 09:58 AM.
Reply With Quote

  #4  
Old 02-22-2004, 09:52 AM
Jito463's Avatar
Jito463 Offline
No I will NOT fix your PC
 
Join Date: Oct 2002
Location: Iowa, US of A
Posts: 11
Well, that wasn't very helpful of them. I'll have to put some thought into this one.
Reply With Quote

  #5  
Old 03-13-2004, 01:30 PM
paweusz's Avatar
paweusz Offline
Junior Member
 
Join Date: Feb 2004
Posts: 5
I now right now

So. I've found the answer.

The problem is that, despite of i hit "netsh routing ip nat install",
there was the "Routing and Remote Access Service" turned off (in Control Panel/Administration.../Services

So.

the configuration is

# Konfiguracja protokołu IP
pushd routing ip
reset
set loglevel error
add preferenceforprotocol proto=LOCAL preflevel=1
add preferenceforprotocol proto=STATIC preflevel=3
add preferenceforprotocol proto=NONDOD preflevel=5
add preferenceforprotocol proto=AUTOSTATIC preflevel=7
add preferenceforprotocol proto=NetMgmt preflevel=10
add preferenceforprotocol proto=OSPF preflevel=110
add preferenceforprotocol proto=RIP preflevel=120
add interface name="Sprzężenie zwrotne" state=enable
set filter name="Sprzężenie zwrotne" fragcheck=disable
add interface name="Internet" state=enable
set filter name="Internet" fragcheck=disable
add interface name="Pawełek" state=enable
set filter name="Pawełek" fragcheck=disable
popd
# Koniec konfiguracji protokołu IP



# ----------------------------------
# Konfiguracja programu przydzielania DHCP
# ----------------------------------
pushd routing ip autodhcp
uninstall
install
set global scopenetwork=172.16.0.0 scopemask=255.255.0.0 leasetime=10080 logleve
l=ERROR


popd
# Koniec konfiguracji programu przydzielania DHCP



# ----------------------------------
# Konfiguracja serwera proxy DNS
# ----------------------------------
pushd routing ip dnsproxy
uninstall
install
set global dnsmode=enable querytimeout=3 loglevel=ERROR


popd
# Koniec konfiguracji serwera proxy DNS



# ----------------------------------
# Konfiguracja protokołu IGMP
# ----------------------------------
pushd routing ip igmp
uninstall
install
set global loglevel = ERROR


# Konfiguracja protokołu Igmp dla interfejsu "Internet"

delete interface name="Internet"
add interface name="Internet" igmpprototype=IGMPPROXY ifenabled=enable


# Konfiguracja protokołu Igmp dla interfejsu "Pawełek"

delete interface name="Pawełek"
add interface name="Pawełek" igmpprototype=IGMPRTRV2 ifenabled=enable robustvar=
2 startupquerycount=2 startupqueryinterval=31 genqueryinterval=125 genqueryrespt
ime=10 lastmemquerycount=2 lastmemqueryinterval=1000 accnonrtralertpkts=YES


popd
# Koniec konfiguracji protokołu IGMP



# ----------------------------------
# Konfiguracja NAT
# ----------------------------------
pushd routing ip nat
uninstall
install
set global tcptimeoutmins=1440 udptimeoutmins=1 loglevel=ERROR


#
#Konfiguracja NAT dla interfejsu Internet
#
add interface name="Internet" mode=FULL


#
#Konfiguracja NAT dla interfejsu Pawełek
#
add interface name="Pawełek" mode=PRIVATE


popd




# ----------------------------------
# Konfiguracja protokołu OSPF
# ----------------------------------

pushd routing ip ospf
uninstall

popd
# Koniec konfiguracji protokołu OSPF




# ----------------------------------
# Konfiguracja agenta przekazującego DHCP
# ----------------------------------
pushd routing ip relay
uninstall


popd
# Koniec konfiguracji agenta przekazującego DHCP



# ----------------------------------
# Konfiguracja protokołu RIP
# ----------------------------------
pushd routing ip rip
uninstall


popd
# Koniec konfiguracji protokołu RIP



# ----------------------------------
# Konfiguracja odnalezienia routera
# ----------------------------------
pushd routing ip routerdiscovery
uninstall
add interface name="Sprzężenie zwrotne" disc=disable minint=7 maxint=10 life=30
level=0
add interface name="Internet" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="Pawełek" disc=disable minint=7 maxint=10 life=30 level=0

and it assigns for all packets from Pawełek NAT on Internet. So my computer Pawełek has internet access with the same ip and MAC as Internet.

Don't ask me what do mean some of the settings. It was the Win2k Server RRAS Console doing it for me. I had to only put in on my XP.

Greetings!
Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing internet between 98se and xp kinglouis75 Windows XP 2 12-09-2004 05:30 PM
Internet Sharing Connection= FAILED rhesusyee Windows XP 0 11-03-2004 04:33 PM
internet connection sharing pfunk Windows XP 0 10-14-2004 09:00 PM
Internet Connection Sharing natsun Windows XP 1 02-15-2004 04:16 PM
Network and Internet Sharing Problem with XP Home Edition... Simon Windows XP 10 10-10-2003 03:13 PM



All times are GMT -5. The time now is 01:20 PM.


Designed by eXtremepixels. Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.