I have two pc at home .I am trying to share my internet connection, myBro from smart, to the two pc using a switch hub but my problem is that when the two computer is using the internet they can't connect simultaneously .When 1 computer connects and then the other is trying to connect, it goes to the login page of myBro as well as that other computer.

I don't know how to solve this .I need your help. Thank you.

Dani AI

Generated

A likely reason for the behavior reported by is that the Smart "myBro" service is enforcing per-device/login (a captive‑portal or per‑MAC session) while a simple switch only forwards frames and does not translate or hide multiple clients. That makes each PC look like a separate Internet client and causes the gateway to show the login page for each. A device that performs address translation (or Windows Internet Connection Sharing) will present one gateway to the ISP and avoid repeated logins. Cisco: What is NAT? SmallWall: Captive portal basics. (cisco.com)

A low‑cost, immediate option (no new hardware) is to use one XP machine as the gateway with Internet Connection Sharing (ICS). Steps (host = the PC that holds the myBro connection): log on as Administrator; Control Panel → Network and Internet Connections → Network Connections; right‑click the myBro/PPPoE/dial‑up connection → Properties → Advanced tab → check “Allow other network users to connect through this computer’s Internet connection”; select the LAN interface that goes to the switch. On the other PCs set TCP/IP to obtain IP and DNS automatically. ICS will set the host LAN to 192.168.0.1 and provide DHCP addresses to clients. Notes: the host needs a working Ethernet NIC to feed the switch, the host must stay powered on, and ICS is intended for small home networks. Microsoft KB 316276 (ICS + PPPoE) Windows XP TCP/IP guide. (ftp.zx.net.nz)

Preferred, more robust fix: put a small NAT router between the myBro modem and the switch. Choose a router that offers NAT + DHCP and, if the myBro device is a USB dongle, pick a model that supports 3G/4G USB modems; if myBro provides an Ethernet/CPE output, any wireline WAN router will work. Physical hookup: modem/CPE → router WAN, router LAN → switch, clients → switch (clients set to DHCP). Example: TP‑Link routers supporting 3G/4G dongles [Cisco NAT notes]. (tp-link.com)

Quick troubleshooting checks when things fail: on each PC run ipconfig /all to verify addresses; a 169.254.x.x address means no DHCP lease; run ipconfig /release then ipconfig /renew on the client. Ping the gateway (host or router) and check the host’s ICS/Windows Firewall service is running. If using a router, log in to its admin page and verify the WAN status. Windows XP TCP/IP / ipconfig notes [TP‑Link TCP/IP check guide]. (flylib.com)

Recommended Answers

All 4 Replies

Get a router to handle the connection. It can use what is called NAT (Network Address Translation) to translate LAN (local network) addresses and allow all the computers connected to the LAN to access the internet without problems. You will need to configure your computers to use DHCP or (if not mobile devices) LAN static addresses that are in the LAN subnet address range (eyes glazing yet?). The router will provide IP addresses for these systems on the LAN, and when they connect to the internet, the router will know how to route messages between them and the internet, and vice versa. This also provides much better security since outside agents (malware) will not so easily compromise your systems.

thank you for your response but i still have some questions .how to configure the two computers to use DHCP or LAN static addresses ? .i am using windows xp .is it not possible to use just the switch hub and access the internet simultaneously?

Hello,

What you need is a router instead of a hub or switch. The router will manage the conection to the WAN (internet) and give each of you a local connection (LAN) and address. With a router your internet provider will only see the one connection from the router and your computers will see the router as their gateway to the internet. Here is a site that gives the description in more detail:
http://helpdeskgeek.com/networking/router-vs-switch-vs-hub/

thank you for your replies .so i have to use the router instead of the hub for me to share the internet without problems, right ?
thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.