Modify

Opened 7 years ago

Closed 6 years ago

#8710 closed enhancement (worksforme)

RFE: Set permanent IP on IF underlying PPPoE

Reported by: owrt@… Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: base system Version: Trunk
Keywords: Cc:

Description

I have a DSL modem connected to an ethernet port of my OpenWRT router, and the router is running PPPoE. The DSL modem also runs IP on the ethernet (so you can telnet it for stats and such). I don't see a way in OpenWRT to set an IP on the ethernet interface underlying a PPPoE connection (the IP should stay set even if the PPPoE connection goes down). I know this can work, because I can log in to the router and add an IP with "ip addr add" and telnet to the DSL modem.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by jow

This should work:

config alias wanmodem
  option interface wan
  option proto     static
  option ipaddr    1.2.3.4
  option netmask   255.255.255.0
  option layer     1

See http://wiki.openwrt.org/doc/uci/network#aliases

comment:2 Changed 6 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.