how to get the airport and Ethernet to work same time

Joined
Aug 19, 2011
Messages
7
Reaction score
0
Points
1
ok real quick, using macbook pro 13" uni-body with tiger 10.6 i think,

so here is what im doing and keep in mind it works fine on the windows side of my mac. im connecting hard wire ethernet to some devices that control with software but i can also control them via web browser, i have to set the ip in the range of the devices example 192.168.0.xxx and that works no problem. then i connect my airport to the wireless internet they have here and have my wireless settings on automatic and it gives me an ip of 10.35.1.xxx
now the problem, i cant brows the internet if the ethernet is connected, but if i un plug it then it works fine ( browsing the web ) when im on the windows xp side i can keep the ethernet cable plugged in and still control my devices and browse the internet but not on the mac side. hope this makes sense
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,105
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Tiger is 10.4..10.6 is Snow Leopard..but that's besides the point..

For your Ethernet interface, are you manually putting in the configuration to set it up for the 192.168.0.xxx range? Are you then also setting up a default gateway?

Through your DHCP on Airport you are going to get a default gateway as well as your IP address..

If your Internet connection isn't working, it's likely because your default gateway is wrong..you want to be using the one you get from the Airport connection as opposed to the Ethernet connection..

So this is what I would suggest, get your Ethernet and Airport connections going and configure them how you need them, then open a terminal and type the following "ifconfig -a" and then show us the output..
 
OP
N
Joined
Aug 19, 2011
Messages
7
Reaction score
0
Points
1
here you go


lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 58:b0:35:fd:29:51
inet6 fe80::5ab0:35ff:fefd:2951%en0 prefixlen 64 scopeid 0x4
inet 192.168.0.202 netmask 0xffffff00 broadcast 192.168.0.255
media: autoselect (1000baseT <full-duplex,flow-control>)
status: active
fw0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 4078
lladdr e8:06:88:ff:fe:c7:e2:82
media: autoselect <full-duplex>
status: inactive
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether f8:1e:df:f1:e4:b4
inet6 fe80::fa1e:dfff:fef1:e4b4%en1 prefixlen 64 scopeid 0x6
inet 10.35.1.99 netmask 0xfffff000 broadcast 10.35.15.255
media: autoselect
status: active
en4: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
ether 58:b0:35:98:53:59
media: autoselect
status: inactive
 
OP
N
Joined
Aug 19, 2011
Messages
7
Reaction score
0
Points
1
How do I setup the default gateway ? I don't have access to the wireless router configuration ( corporate wifi ) but my router I'm connecteded to via Ethernet I can configure
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,105
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
OK..now in the same terminal window, type "route" and this will show you the routing table..you care most about the "Destination" value of default and the Gateway that follows it..
 
OP
N
Joined
Aug 19, 2011
Messages
7
Reaction score
0
Points
1
ok im not sure what changed but now im able to use both wifi and ethernet flawless ..
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,105
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Totally sorry..I was logged into my Linux machine..and there "route" gets you the routing table..on OS X, try "netstat -nr" and this will show the first thing as the 'default' Destination and Gateway following that..
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,105
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Hmm..I don't like magical fixes since if it breaks again next time you won't know what to do to get it back to a working state..
 
OP
N
Joined
Aug 19, 2011
Messages
7
Reaction score
0
Points
1
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 10.35.0.1 UGSc 43 0 en1
default 192.168.0.1 UGScI 0 0 en0
10.35/20 link#6 UCS 2 0 en1
10.35.0.1 0:c:42:4a:68:80 UHLWI 43 17 en1 1138
10.35.1.99 127.0.0.1 UHS 0 0 lo0
10.35.15.255 ff:ff:ff:ff:ff:ff UHLWbI 0 6 en1
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 1 271 lo0
169.254 link#6 UCS 4 0 en1
169.254.35.5 78:ca:39:b3:66:fd UHLW 0 0 en1 814
169.254.43.137 50:ea:d6:60:97:4e UHLW 0 0 en1 763
169.254.107.95 28:e7:cf:f:53:db UHLW 0 0 en1 337
169.254.211.219 b8:ff:61:e7:4d:f8 UHLW 0 0 en1 162
192.168.0 link#4 UCS 6 0 en0
192.168.0.1 94:44:52:80:76:4e UHLWI 1 0 en0 1137
192.168.0.4 127.0.0.1 UHS 0 0 lo0
192.168.0.75 cc:8:e0:57:7f:c7 UHLWI 0 0 en0 651
192.168.0.101 0:20:4a:c6:5f:40 UHLWI 1 1093 en0 1111
192.168.0.103 0:20:4a:c6:59:e0 UHLWI 1 1066 en0 1120
192.168.0.104 0:20:4a:bf:d2:27 UHLWI 1 1065 en0 1121
192.168.0.255 ff:ff:ff:ff:ff:ff UHLWbI 0 6 en0

Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%lo0/64 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#1 UHL lo0
fe80::%en0/64 link#4 UC en0
fe80::5ab0:35ff:fefd:2951%en0 58:b0:35:fd:29:51 UHL lo0
fe80::%en1/64 link#6 UC en1
fe80::fa1e:dfff:fef1:e4b4%en1 f8:1e:df:f1:e4:b4 UHL lo0
ff01::/32 ::1 Um lo0
ff02::/32 ::1 UmC lo0
ff02::/32 link#4 UmC en0
ff02::/32 link#6 UmC en1
ff02::fb link#6 UHmLW en1


ya id like to know the fix as well
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,105
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
OK..so you do have two default gateways defined as expected from the two interfaces..

Now it's possible that the first one listed takes priority over the other..so depending on which interface comes up and gets configured first might determine the order of the gateway's and as such whether you have Internet connectivity or not..
 
OP
N
Joined
Aug 19, 2011
Messages
7
Reaction score
0
Points
1
so are you saying if i connect to the wireless first and then connect ethernet it will work ? ... so i had to connect to my projectors via airport so i can be wireless and then i switched it back to the wifi and connected the ethernet back in and it still works fine ... ok so i think i figured it out maybe, its working when i switch the location to automatic but as long as my router connected to my projectors gives me an IP then its all happy
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top