O
O
Oliver Nordfox2014-11-22 22:02:56
macOS
Oliver Nordfox, 2014-11-22 22:02:56

How to swap network interfaces en0 and en1 in OS X?

Due to the fact that my gigabit network card is defined as en1, it is impossible to enter the AppStore, which is designed only for the fact that the Internet should be on en0 (this is an analogue of eth0 from the Linux world).
On en1, the Internet comes from outside, from en0 the Internet is distributed from the PC further.
How to swap them?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
plasticmirror, 2014-11-22
@plasticmirror

m ... can you give a little more detail? since when did the AppStore (apparently App \ Store.app) become critical through which interface the Internet is connected?

S
Sergey Petrikov, 2014-11-22
@RicoX

Did you come up with this yourself? In general, the Internet comes to me on the Wealan and everything works:

sh-3.2# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
  options=3<RXCSUM,TXCSUM>
  inet6 ::1 prefixlen 128
  inet 127.0.0.1 netmask 0xff000000
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
  nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>
  ether 40:6c:8f:15:ba:9d
  inet6 fe80::426c:8fff:fe15:ba9d%en0 prefixlen 64 scopeid 0x4
  nd6 options=1<PERFORMNUD>
  media: autoselect (1000baseT <full-duplex,flow-control>)
  status: active
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
  ether 70:73:cb:c1:e6:07
  nd6 options=1<PERFORMNUD>
  media: autoselect
  status: active
en3: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
  options=60<TSO4,TSO6>
  ether b2:00:1f:68:3b:41
  media: autoselect <full-duplex>
  status: inactive
fw0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 4078
  lladdr 3c:07:54:ff:fe:f6:83:b4
  media: autoselect <full-duplex>
  status: inactive
bridge0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
  options=63<RXCSUM,TXCSUM,TSO4,TSO6>
  ether 42:6c:8f:51:36:00
  Configuration:
    id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
    maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
    root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
    ipfilter disabled flags 0x2
  member: en3 flags=3<LEARNING,DISCOVER>
          ifmaxaddr 0 port 6 priority 0 path cost 0
  media: <unknown type>
  status: inactive
vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  options=3<RXCSUM,TXCSUM>
  ether 40:6c:8f:15:ba:9d
  inet6 fe80::426c:8fff:fe15:ba9d%vlan0 prefixlen 64 scopeid 0x9
  inet 10.7.10.7 netmask 0xffffff00 broadcast 10.7.10.255
  inet 10.7.11.7 netmask 0xffffff00 broadcast 10.7.11.255
  nd6 options=1<PERFORMNUD>
  vlan: 180 parent interface: en0
  media: autoselect (1000baseT <full-duplex,flow-control>)
  status: active
vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  options=3<RXCSUM,TXCSUM>
  ether 40:6c:8f:15:ba:9d
  inet6 fe80::426c:8fff:fe15:ba9d%vlan2 prefixlen 64 scopeid 0xa
  inet 10.7.4.7 netmask 0xffffff00 broadcast 10.7.4.255
  nd6 options=1<PERFORMNUD>
  vlan: 1 parent interface: en0
  media: autoselect (1000baseT <full-duplex,flow-control>)
  status: active
vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  options=3<RXCSUM,TXCSUM>
  ether 40:6c:8f:15:ba:9d
  inet6 fe80::426c:8fff:fe15:ba9d%vlan1 prefixlen 64 scopeid 0xb
  inet 91.221.53.249 netmask 0xfffffff0 broadcast 91.221.53.255
  inet 192.168.1.7 netmask 0xffffff00 broadcast 192.168.1.255
  inet 192.168.0.7 netmask 0xffffff00 broadcast 192.168.0.255
  inet 10.10.100.77 netmask 0xfffffc00 broadcast 10.10.103.255
  nd6 options=1<PERFORMNUD>
  vlan: 777 parent interface: en0
  media: autoselect (1000baseT <full-duplex,flow-control>)
  status: active
vlan3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  options=3<RXCSUM,TXCSUM>
  ether 40:6c:8f:15:ba:9d
  inet6 fe80::426c:8fff:fe15:ba9d%vlan3 prefixlen 64 scopeid 0xc
  inet 10.100.207.249 netmask 0xffffff00 broadcast 10.100.207.255
  nd6 options=1<PERFORMNUD>
  vlan: 997 parent interface: en0
  media: autoselect (1000baseT <full-duplex,flow-control>)
  status: active
p2p0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 2304
  ether 02:73:cb:c1:e6:07
  media: autoselect
  status: inactive
bridge100: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  options=3<RXCSUM,TXCSUM>
  ether 42:6c:8f:51:36:64
  inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
  Configuration:
    id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
    maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
    root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
    ipfilter disabled flags 0x2
  member: en1 flags=3<LEARNING,DISCOVER>
          ifmaxaddr 0 port 5 priority 0 path cost 0
  media: autoselect
  status: active

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question