Plug in phone in usb, enable tethering

>plug in phone in usb, enable tethering
IP=192.168.42.180
Gateway=192.168.*42*.129
DNS=192.168.42.129

>plug out, but enable hotspot on the same phone
IP=192.168.1.120
Gateway=192.168.*1*.1
DNS=192.168.1.1


So what's the deal with the mismatched gateways? Why does the usb connection not share the same gateway as the wireless one? Why the different subnet? It's the same fucking modem.

left

Yeah I'd piss on her too and I know posting a image more interesting than the comment is stupid too but what about my question

/probably/ because you might want to host a hotspot both wirelessly and over ethernet.

>>>/sqt/
google.com
stackoverflow.com
github.com/user/OSRepo

But that's FUCKING RETARDED

Is it one of "those" manga that main girls get raped and I'll get pissed about it?

naw dude you just nuked your entire fucking thread lmao

You guys are all sick degenerates who should be immediately executed on sight as soon as possible without hesitation whatsoever.

It's very rare for these types of manga to feature the main girls getting raped, you'll find that in hentai.

Not really. There may be unforeseeable bugs if the same device had the same gateway for 2 separate hotspots and didn't wish to spend more time bug hunting or adding more code to check if there's already an existing hotspot for such a minor thing, which isn't really even an issue. You're just being a faggot. Sageru.

>if the same device had the same gateway
Take a look at your router at home, which I assume is 192.168.0.1

That's a gateway, that's a gateway for EVERYTHING on your local network, your desktop, laptop, phone, tablet, Raspberry Pi, and whatever.
They sure as hell have no problem sharing that gateway.
Likewise your AP if it's separate would probably be in the same subnet too, using the same gateway.
No problem whatsoever.

>>enable tethering
the gateway is your mobile ISP
>>enable hotspot
the gateway is your phone

total fucking guess, but probably along those lines

It could easily be a separate AP on the same device; separate virtual devices. Or it could easily be this Either way this thread is retared. Sageru.

Actually, yeah, now that I think about it it's exactly this.
>tethering
You're sharing your phone's internet connection, t/f the gateway is the ISP.
>hotspot
You're basically creating an access point, t/f the gateway is the router (in this case, your phone).

When you enable tethering the phone makes a virtual interface for the computer to address with TCP/IP, the gateway is the address of the phone on that network.

This needs to be a different network to the wireless network the device is already using.

When the phone is a hotspot it can choose any network it wants and uses the pretty much default 192.168.1 because it isn't going to potentially clash with any other connected networks (the cellular networks don't assign 192.168).

>hurrr the gateway is the router
No it isn't. The gateway is the gateway to a router; you can have multiple gateways to a single router. Stop posting ITT without saging, you absolute retard.

PING 192.168.42.129 (192.168.42.129) 56(84) bytes of data.
64 bytes from 192.168.42.129: icmp_seq=1 ttl=64 time=0.411 ms
64 bytes from 192.168.42.129: icmp_seq=2 ttl=64 time=0.343 ms
64 bytes from 192.168.42.129: icmp_seq=3 ttl=64 time=0.333 ms
64 bytes from 192.168.42.129: icmp_seq=4 ttl=64 time=1.27 ms
64 bytes from 192.168.42.129: icmp_seq=5 ttl=64 time=0.336 ms
64 bytes from 192.168.42.129: icmp_seq=6 ttl=64 time=0.317 ms
^C
--- 192.168.42.129 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4998ms
rtt min/avg/max/mdev = 0.317/0.502/1.274/0.346 ms


There's no fucking way those are remote connections.

How can you have multiple gateways to a single router? That doesn't make much sense to my limited networking understanding.

>what is vlan
Sageru

>hurrhurr look my 10 port router actually has "30" ports, VLAN huehuehuehe

That's cheating and you know it

>How can you have multiple gateways to a single router?
Gateways are routers.

Gateway is just the term for a way out of your network. Usually these are routers. Your phone is acting as a gateway when it is in tethering or hotspot modes. You can equally say it is acting as a router.

They're not remote connections. It's your phone.

Are you retarded by any chance?

>That's cheating and you know it
The software sees them separately, so it isn't really "cheating" by any means.

A gateway is a router to the device that handles traffic to/from the ISP, obviously, but it isn't a "router" in the sense that IT IS the device itself. You can very easily have multiple gateways on a single device. I feel like I'm repeating myself here.

Friendly reminder that a thread died for this. Sageru.

>You can very easily have multiple gateways on a single device.
I think you're confusing gateway with gateway address.
You can have multiple gateway addresses on a single device, and technically you can have a device act as multiple gateways for different networks but then that device is, by every definition, a router.

He was referring to the gateway by its IP, thus he meant the gateway address, obviously. You're correcting him, not me. Stop bumping this thread and please put "sage" in the options field.

You are a fucking retard.

And here comes the peanut gallery.

Why say gateway when you mean modem, your gateway is always gonna be where your modem is.
When I say firewall I mean fucking firewall, not proxy.
Gateways are strictly protocol translators now.

Go back to . Honestly this thread is one of the many things that's wrong with Sup Forums

I wish the mods would do their fucking jobs. Sageru

If they did they would ban your asinine comments, pregnant with a thick foam of heady autism that acts as lubricant for your fumbling attempts to communicate.

Because gateway sounds more intuitive than edge router.

USB tethering shares the data connection with the computer, WiFi tethering creates an access point on the phone.

please tell me that's guro porn